Can't access tenant in Test class?
A simple test like this:
fails because it says it's missing the tenant parameter in the route. I've tried doing something like
Any ideas?
fails because it says it's missing the tenant parameter in the route. I've tried doing something like
Filament::setTenant(Team::factory()->create()); in my setup method, and various other things and can't seem to get it to either use a fake tenant, or to ignore the tenant entirely. This particular page doesn't even rely on tenancy, it just exists in a panel where tenancy is used.Any ideas?