20 lines
654 B
PHP
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([]);
|
|
});
|