phpunit $_SERVER['DOCUMENT_ROOT'] не работает
Primary tabs
_____________________________________________
Источники(читать подробнее)=
http://yiiframework.ru/forum/viewtopic.php?f=3&t=5276
http://php.bigresource.com/apache-filesmatch-directive-and-Want-to-include-the-path-to-file-but-not-working-right--bW0nQvzGj.html
____________________________________
Ключевые слова и фразы(для поиска)=
$_SERVER['DOCUMENT_ROOT'] doesn't work in PHPUnit
- vedro-compota's blog
- Log in to post comments
- 5881 reads
Comments
vedro-compota
Tue, 01/10/2012 - 01:24
Permalink
F
F
Time: 0 seconds, Memory: 3.00Mb
There was 1 failure:
1) CoreModuleTest::testArrayFill
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
- 'title' => 'Нелинейный отра...ния'
+ 'title' => null
'path2' => null
'level' => 2
)
C:\data\localhost\www\tp\world-shared-folders\WSF\scripts\tests\CoreModuleTest.php:15
C:\php\phpunit:46
FAILURES!
Tests: 1, Assertions: 1, Failures: 1.
===============================
_____________
матфак вгу и остальная классика =)