Can't access tenant in Test class?

A simple test like this:

 public function test_renders_successfully()
    {
        Livewire::test(TimeSheet::class)
            ->assertStatus(200);
    }

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?
Was this page helpful?