stancl / tenancy-docs

stancl/tenancy docs & website
https://tenancyforlaravel.com/docs
MIT License
64 stars 633 forks source link

Update testing.blade.md #282

Closed SuperDJ closed 1 month ago

stancl commented 1 month ago

Not sure why "disabling the middleware" would be needed but it's incorrect, you can use tenancy middleware in tests just fine.

SuperDJ commented 1 month ago

@stancl could you elaborate on how to use the InitializeTenancyBySubdomain middleware while testing. It appears that there are more with the same issue I have. With these middleware on it will return 404 for tenant routes.