WithCachedRoutes
trait WithCachedRoutes (View source)
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
protected void
setUpWithCachedRoutes()
After creating the routes once, we can cache them for the remaining tests.
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.
protected void
markRoutesCached(Application $app)
Inform the container to treat routes as cached.