TenantAtlas/apps/platform/tests/Feature/TenantConfiguration/Spec421EntraNoTenantIdTest.php
Ahmed Darrazi 19037e1dd8
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 1m15s
feat: complete spec 421 Entra comparable/renderable pack
2026-06-27 23:42:58 +02:00

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',
];
}