Permalink
Browse files

fixed unit tests

  • Loading branch information...
bancer committed Jan 26, 2017
1 parent ebde8fd commit e0b0da86bf3d8fcd3f8d887f6bba22687c70b2ef
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/Cake/Test/Case/Routing/RouterTest.php
@@ -2562,8 +2562,9 @@ public function testReverseToArrayNamed() {
'named' => array('page' => 123, 'sort' => 'Article.title', 'direction' => 'desc'),
'url' => array(),
);
$result = Router::reverse($params);
$result = Router::reverseToArray($params);
$expected = array(
'plugin' => null,
'controller' => 'posts',
'action' => 'index',
123,
@@ -2585,6 +2586,7 @@ public function testReverseToArrayCakeRequestQuery() {
$request->query = array('url' => 'eng/posts/view/123', 'test' => 'value');
$result = Router::reverseToArray($request);
$expected = array(
'plugin' => null,
'controller' => 'posts',
'action' => 'view',
123,

0 comments on commit e0b0da8

Please sign in to comment.