Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 56s
## Summary - decommission the legacy findings lifecycle backfill substrate across command, job, service, and UI layers - remove related platform capabilities, operation catalog entries, and action surface exemptions - add regression and removal verification tests to ensure runtime integrity and surface absence - include spec, plan, tasks, and data-model artifacts for the removal slice ## Scope - active spec: specs/253-remove-findings-backfill-runtime-surfaces - target branch: dev ## Validation - integrated regression and removal verification tests for console, findings, and system ops surfaces - audit log and capability trace verification for the removal path
15 lines
629 B
PHP
15 lines
629 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use App\Support\Auth\PlatformCapabilities;
|
|
|
|
it('removes the platform capability and seeder grant for findings lifecycle backfill', function (): void {
|
|
expect(defined(PlatformCapabilities::class.'::RUNBOOKS_FINDINGS_LIFECYCLE_BACKFILL'))->toBeFalse()
|
|
->and(PlatformCapabilities::all())->not->toContain('platform.runbooks.findings.lifecycle_backfill');
|
|
|
|
expect((string) file_get_contents(database_path('seeders/PlatformUserSeeder.php')))
|
|
->not->toContain('RUNBOOKS_FINDINGS_LIFECYCLE_BACKFILL')
|
|
->not->toContain('platform.runbooks.findings.lifecycle_backfill');
|
|
});
|