Skip to content

Commit

Permalink
fix argument number issue
Browse files Browse the repository at this point in the history
  • Loading branch information
antograssiot committed Feb 27, 2016
1 parent df6b848 commit 2b70af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestCase/Routing/RouteCollectionTest.php
Expand Up @@ -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');
Expand Down

0 comments on commit 2b70af9

Please sign in to comment.