diff --git a/tests/TestCase/Routing/RouteCollectionTest.php b/tests/TestCase/Routing/RouteCollectionTest.php index 8e7c4fd7c91..7872ac185cb 100644 --- a/tests/TestCase/Routing/RouteCollectionTest.php +++ b/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');