mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-04 14:22:48 +08:00
Route类调整
This commit is contained in:
@@ -65,7 +65,7 @@ class routeTest extends \PHPUnit_Framework_TestCase
|
||||
public function testRouteMap()
|
||||
{
|
||||
Route::map('hello', 'index/hello');
|
||||
//$this->assertEquals('index/hello',Route::map('hello'));
|
||||
$this->assertEquals('index/hello', Route::map('hello'));
|
||||
$this->assertEquals(['type' => 'module', 'module' => ['index', 'hello', null]], Route::check('hello'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user