TenantAtlas/apps/platform/tests/Feature/TenantConfiguration/Spec422ExchangeTeamsNoMiniPlatformTest.php
Ahmed Darrazi 4c1e14c6bc
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 6m9s
feat: complete spec 422 exchange teams comparable renderable pack
2026-06-30 06:18:15 +02: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([]);
});