toBeFalse() ->and(require base_path('bootstrap/providers.php'))->not->toContain('App\\Providers\\Filament\\TenantPanelProvider') ->and(Filament::getPanel('tenant'))->toBeNull(); }); it('does not register active /admin/t routes', function (): void { $legacyRouteUris = collect(Route::getRoutes()) ->map(fn ($route): string => ltrim((string) $route->uri(), '/')) ->filter(fn (string $uri): bool => preg_match('#^admin/t(?:/|$)#', $uri) === 1) ->values(); expect($legacyRouteUris)->toBeEmpty(); $this->get('/admin/t/example')->assertNotFound(); });