TenantAtlas/apps/platform/tests/Feature/TenantConfiguration/Spec422ExchangeTeamsNoMiniPlatformTest.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

20 lines
616 B
PHP

<?php
declare(strict_types=1);
it('Spec422 does not add Exchange or Teams specific tables, models, routes, or Filament resources', function (): void {
$paths = [
'apps/platform/database/migrations',
'apps/platform/app/Models',
'apps/platform/app/Filament',
'apps/platform/routes',
];
$joined = collect($paths)
->flatMap(fn (string $path): array => glob(repo_path($path).'/**/*422*') ?: [])
->map(fn (string $path): string => str_replace(repo_path().DIRECTORY_SEPARATOR, '', $path))
->values()
->all();
expect($joined)->toBe([]);
});