- 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
16 lines
464 B
PHP
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();
|
|
});
|