Fix unit tests

This commit is contained in:
Kijin Sung 2020-06-22 00:57:12 +09:00
parent 1bb7248e3e
commit 9a158fde7e

View file

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