TenantAtlas/apps/platform/tests/Feature/WorkspaceFoundation/PlatformBootSmokeTest.php
Ahmed Darrazi e4db44f606
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 1m27s
feat: complete workspace-first environment routing cutover
2026-05-07 23:46:45 +02:00

19 lines
635 B
PHP

<?php
use App\Providers\Filament\AdminPanelProvider;
use App\Providers\Filament\SystemPanelProvider;
it('keeps the platform health and admin login routes reachable', function () {
$this->get('/up')->assertSuccessful();
$this->get('/admin/login')->assertSuccessful();
});
it('keeps panel providers registered from apps/platform/bootstrap/providers.php', function () {
$providers = require base_path('bootstrap/providers.php');
expect($providers)
->toContain(AdminPanelProvider::class)
->not->toContain('App\\Providers\\Filament\\TenantPanelProvider')
->toContain(SystemPanelProvider::class);
});