TenantAtlas/apps/platform/tests/Feature/TenantConfiguration/Spec425EntraCertifiedNoMiniPlatformTest.php
ahmido 33e496c182 feat: complete spec 425 enta certified compare pack (#492)
Implements spec 425 with Entra certified compare pack support, coverage, guards, evaluator, fixtures, and tests.

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #492
2026-07-01 23:27:16 +00:00

20 lines
654 B
PHP

<?php
declare(strict_types=1);
it('Spec425 does not add an Entra mini platform table model route dashboard or Filament surface', function (): void {
$newPlatformFiles = collect([
'apps/platform/database/migrations',
'apps/platform/app/Models',
'apps/platform/app/Filament',
'apps/platform/routes',
'apps/platform/resources/views',
])
->flatMap(fn (string $path): array => glob(repo_path($path).'/**/*425*') ?: [])
->map(fn (string $path): string => str_replace(repo_path().DIRECTORY_SEPARATOR, '', $path))
->values()
->all();
expect($newPlatformFiles)->toBe([]);
});