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

20 lines
604 B
PHP

<?php
declare(strict_types=1);
it('Spec421 does not add Entra-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).'/**/*421*') ?: [])
->map(fn (string $path): string => str_replace(repo_path().DIRECTORY_SEPARATOR, '', $path))
->values()
->all();
expect($joined)->toBe([]);
});