TenantAtlas/apps/platform/tests/Feature/TenantConfiguration/Spec422ExchangeTeamsNoTenantIdTest.php
ahmido 13d363c8b8 feat: complete spec 422 exchange teams comparable renderable pack (#489)
## Summary

This PR completes spec 422 exchange teams comparable renderable pack with comparable diffing, renderable summary builders, and comprehensive test updates.

## Commit
- 4c1e14c6 feat: complete spec 422 exchange teams comparable renderable pack

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #489
2026-06-30 04:20:13 +00:00

25 lines
965 B
PHP

<?php
declare(strict_types=1);
it('Spec422 does not introduce tenant_id as Coverage v2 ownership truth', function (): void {
foreach (spec422ChangedRuntimeFiles() as $path) {
expect(file_get_contents(repo_path($path)))->not->toContain('tenant_id');
}
});
/**
* @return list<string>
*/
function spec422ChangedRuntimeFiles(): array
{
return [
'apps/platform/app/Services/TenantConfiguration/ExchangeTeamsComparablePayloadNormalizer.php',
'apps/platform/app/Services/TenantConfiguration/ExchangeTeamsCoverageComparator.php',
'apps/platform/app/Services/TenantConfiguration/ExchangeTeamsRenderableSummaryBuilder.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',
];
}