We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0490096 commit f473558Copy full SHA for f473558
src/Illuminate/Foundation/Testing/WithCachedRoutes.php
@@ -14,7 +14,7 @@ protected function setUpWithCachedRoutes(): void
14
$routes = $this->app['router']->getRoutes();
15
$routes->refreshNameLookups();
16
$routes->refreshActionLookups();
17
- self::$cachedRoutes = $routes;
+ self::$cachedRoutes = $routes->compile();
18
}
19
20
$this->app->instance('routes.cached', true);
0 commit comments