Skip to content
Permalink
Browse files

fix argument number issue

  • Loading branch information...
antograssiot committed Feb 27, 2016
1 parent df6b848 commit 2b70af959aa79c756ebc612e25f045e5ebe11fb2
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/TestCase/Routing/RouteCollectionTest.php
@@ -138,7 +138,7 @@ public function testParseFallback()
$routes = new RouteBuilder($this->collection, '/', []);
$routes->resources('Articles');
$routes->connect('/:controller', ['action' => 'index'], [], ['routeClass' => 'InflectedRoute']);
$routes->connect('/:controller', ['action' => 'index'], ['routeClass' => 'InflectedRoute']);
$routes->connect('/:controller/:action', [], ['routeClass' => 'InflectedRoute']);
$result = $this->collection->parse('/articles/add');

0 comments on commit 2b70af9

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