25 lines
941 B
PHP
25 lines
941 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
it('Spec421 does not introduce tenant_id as Coverage v2 ownership truth', function (): void {
|
|
foreach (spec421ChangedRuntimeFiles() as $path) {
|
|
expect(file_get_contents(repo_path($path)))->not->toContain('tenant_id');
|
|
}
|
|
});
|
|
|
|
/**
|
|
* @return list<string>
|
|
*/
|
|
function spec421ChangedRuntimeFiles(): array
|
|
{
|
|
return [
|
|
'apps/platform/app/Services/TenantConfiguration/EntraComparablePayloadNormalizer.php',
|
|
'apps/platform/app/Services/TenantConfiguration/EntraCoverageComparator.php',
|
|
'apps/platform/app/Services/TenantConfiguration/EntraRenderableSummaryBuilder.php',
|
|
'apps/platform/app/Services/TenantConfiguration/CoverageEvidenceWriter.php',
|
|
'apps/platform/app/Services/TenantConfiguration/CoverageV2ReadinessReadModel.php',
|
|
'apps/platform/resources/views/filament/modals/tenant-configuration/coverage-v2-resource-inspect.blade.php',
|
|
];
|
|
}
|