Route类调整

This commit is contained in:
thinkphp
2016-02-29 13:55:55 +08:00
parent d93d0feb2a
commit 0ab55d6246
4 changed files with 6 additions and 7 deletions

View File

@@ -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'));
}