mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
Fix unit tests
This commit is contained in:
parent
1bb7248e3e
commit
9a158fde7e
1 changed files with 2 additions and 0 deletions
|
|
@ -29,6 +29,8 @@ class RouterTest extends \Codeception\TestCase\Test
|
|||
$this->assertGreaterThan(0, count($info->route->GET));
|
||||
$this->assertGreaterThan(0, count($info->action->dispBoardContent->route));
|
||||
|
||||
getController('module')->registerActionForwardRoutes('member');
|
||||
|
||||
$args = array('mid' => 'board', 'document_srl' => 123);
|
||||
$this->assertEquals('board/123', Rhymix\Framework\Router::getURL($args, 2));
|
||||
$this->assertEquals('board/123', Rhymix\Framework\Router::getURL($args, 1));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue