Skip to content

Commit f473558

Browse files
authored
compile to array
1 parent 0490096 commit f473558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Foundation/Testing/WithCachedRoutes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ protected function setUpWithCachedRoutes(): void
1414
$routes = $this->app['router']->getRoutes();
1515
$routes->refreshNameLookups();
1616
$routes->refreshActionLookups();
17-
self::$cachedRoutes = $routes;
17+
self::$cachedRoutes = $routes->compile();
1818
}
1919

2020
$this->app->instance('routes.cached', true);

0 commit comments

Comments
 (0)