WithCachedRoutes
trait WithCachedRoutes
Methods
void
setUpWithCachedRoutes()
After creating the routes once, we can cache them for the remaining tests.
void
tearDownWithCachedRoutes()
Reset the route service provider so it's not defaulting to loading cached routes.
void
Details
at line 15
protected void
setUpWithCachedRoutes()
After creating the routes once, we can cache them for the remaining tests.
at line 34
protected void
tearDownWithCachedRoutes()
Reset the route service provider so it's not defaulting to loading cached routes.
This is helpful if some of the tests in the suite apply this trait while others do not.
at line 42
protected void
markRoutesCached(Application $app)
Inform the container to treat routes as cached.