Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 51s
## 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 Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #294
21 lines
657 B
PHP
21 lines
657 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Illuminate\Foundation\Testing\RefreshDatabase;
|
|
use Illuminate\Support\Facades\Artisan;
|
|
|
|
uses(RefreshDatabase::class);
|
|
|
|
it('does not register findings lifecycle backfill or deploy-runbook commands', function (): void {
|
|
$commands = array_keys(Artisan::all());
|
|
|
|
expect($commands)
|
|
->not->toContain('tenantpilot:findings:backfill-lifecycle')
|
|
->not->toContain('tenantpilot:run-deploy-runbooks');
|
|
|
|
expect((string) file_get_contents(base_path('routes/console.php')))
|
|
->not->toContain('tenantpilot:findings:backfill-lifecycle')
|
|
->not->toContain('tenantpilot:run-deploy-runbooks');
|
|
});
|