TenantAtlas/tests/Feature/Rbac/DriftLandingUiEnforcementTest.php
Ahmed Darrazi 39fd8ca1ea feat(spec-119): baseline compare drift cutover
- Enrich drift findings evidence_jsonb for diff UX (summary.kind, refs, fidelity, provenance)

- Add baseline policy version resolver and contract asserts

- Remove legacy drift generator + DriftLanding surfaces

- Add one-time cleanup migration for legacy drift findings

- Scope baseline capture/landing warnings to latest inventory sync

- Canonicalize compliance scheduledActionsForRule drift signal
2026-03-06 15:22:42 +01:00

16 lines
464 B
PHP

<?php
use App\Filament\Pages\BaselineCompareLanding;
it('uses baseline compare landing as the drift entry point post-cutover', function (): void {
[$user, $tenant] = createUserWithTenant(role: 'owner');
$this->actingAs($user)
->get(BaselineCompareLanding::getUrl(tenant: $tenant, panel: 'tenant'))
->assertOk();
$this->actingAs($user)
->get('/admin/t/'.$tenant->external_id.'/drift-landing')
->assertNotFound();
});