MasoniteFramework / masonite4

Temporary Repository for a Masonite Rewrite for Masonite 4
14 stars 3 forks source link

Fix using `setRoutes()` or `addRoutes()` #220

Closed girardinsamuel closed 2 years ago

girardinsamuel commented 2 years ago

When setRoutes or addRoutes method are called during tests, routes will be registered only during the lifetime of the test. This will ease having idempotent and isolated tests.