mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
修正单元测试
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user