单元测试修正

This commit is contained in:
thinkphp
2016-06-29 22:31:42 +08:00
parent da7ec5713b
commit 4962b2354e
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ class appTest extends \PHPUnit_Framework_TestCase
$ns = $rc->getProperty('prefixDirsPsr4');
$ns->setAccessible(true);
$namespace = $ns->getValue();
$this->assertEquals([TEST_PATH], $namespace['tests\\']);
$this->assertEquals([realpath(TEST_PATH)], $namespace['tests\\']);
$this->assertEquals(true, function_exists('lang'));
$this->assertEquals(true, function_exists('config'));