Skip to content

Commit

Permalink
Fix incorrect class name in test.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Apr 1, 2017
1 parent 17c3cbd commit 33031ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestCase/Routing/RouterTest.php
Expand Up @@ -2793,7 +2793,7 @@ public function testReverseToArrayQuery()
public function testReverseToArrayRequestQuery()
{
Router::connect('/:lang/:controller/:action/*', [], ['lang' => '[a-z]{3}']);
$request = new Request('/eng/posts/view/1');
$request = new ServerRequest('/eng/posts/view/1');
$request->addParams([
'lang' => 'eng',
'controller' => 'posts',
Expand Down

0 comments on commit 33031ea

Please sign in to comment.