Skip to content
Permalink
Browse files

Add test case for #5064

Refs #5069
  • Loading branch information...
markstory committed Nov 4, 2014
1 parent 2e2a022 commit 8465b67b00c1aad214860f619bf8ad3f5e2bc7a2
Showing with 10 additions and 0 deletions.
  1. +10 −0 cake/tests/cases/libs/router.test.php
@@ -2147,6 +2147,16 @@ function testRouterReverse() {
);
$result = Router::reverse($params);
$this->assertEqual($result, '/eng/posts/view/1?foo=bar&baz=quu');
$params = array(
'lang' => 'eng',
'controller' => 'posts',
'action' => 'view',
'pass' => array(1),
'named' => array(),
);
$result = Router::reverse($params);
$this->assertEqual($result, '/eng/posts/view/1');
}
}

0 comments on commit 8465b67

Please sign in to comment.
You can’t perform that action at this time.