修正单元测试

This commit is contained in:
thinkphp
2016-06-29 22:24:56 +08:00
parent 1a91aaa882
commit da7ec5713b
5 changed files with 18 additions and 6 deletions

View File

@@ -84,7 +84,7 @@ class routeTest extends \PHPUnit_Framework_TestCase
Route::map('hello', 'index/hello');
$this->assertEquals('index/hello', Route::map('hello'));
$result = Route::check($request, 'hello');
$this->assertEquals(['index', 'hello', null], $result['module']);
$this->assertEquals([null, 'index', 'hello'], $result['module']);
}
public function testMixVar()