[ 'Choose tenant', ], 'apps/platform/resources/views/filament/pages/choose-tenant.blade.php' => [ 'Choose tenant', 'Select the tenant for your normal active operating context.', 'No tenant selected is still a valid workspace state', 'No active tenants available', 'View managed tenants', 'Add tenant', ], 'apps/platform/app/Filament/Pages/Workspaces/ManagedTenantsLanding.php' => [ 'Managed tenants', ], 'apps/platform/resources/views/filament/pages/workspaces/managed-tenants-landing.blade.php' => [ 'No managed tenants yet', 'Choose tenant', 'Add tenant', 'Connect your first Microsoft Entra tenant', ], 'apps/platform/resources/views/filament/partials/context-bar.blade.php' => [ 'Tenant scope', 'Select tenant', 'Selected tenant', 'Switch tenant', 'Clear tenant scope', 'No active tenants', 'View managed tenants', 'Search tenants', ], 'apps/platform/app/Support/OperateHub/OperateHubShell.php' => [ 'ManagedEnvironment scope', 'All tenants', ], 'apps/platform/app/Filament/Pages/Monitoring/Operations.php' => [ 'Show all tenants', 'one tenant inside the active workspace', 'all entitled tenants', 'tenant-specific context', ], 'apps/platform/resources/views/filament/pages/baseline-compare-landing.blade.php' => [ 'tenant landing', ], 'apps/platform/lang/en/localization.php' => [ 'build this tenant\'s policy inventory', ], 'apps/platform/app/Support/Baselines/BaselineCompareSummaryAssessor.php' => [ 'This tenant does not have an assigned baseline yet.', ], 'apps/platform/app/Support/Baselines/BaselineCompareStats.php' => [ 'This tenant has no baseline assignment. A workspace manager can assign a baseline profile to this tenant.', ], 'apps/platform/app/Services/Tenants/TenantActionPolicySurface.php' => [ 'Add tenant', ], ]; foreach ($forbiddenCopyByFile as $relativePath => $forbiddenStrings) { $absolutePath = repo_path($relativePath); expect(is_file($absolutePath))->toBeTrue("Expected file [{$relativePath}] to exist for the copy guard."); $contents = (string) file_get_contents($absolutePath); foreach ($forbiddenStrings as $forbiddenString) { expect($contents) ->not->toContain($forbiddenString, "Found retired copy [{$forbiddenString}] in [{$relativePath}]."); } } }); it('keeps auth-provider wording explicitly Microsoft-owned', function (): void { App::setLocale('en'); expect(__('localization.auth.sign_in_microsoft'))->toBe('Sign in with Microsoft') ->and(__('localization.policy.common.source_microsoft_intune'))->toBe('Source: Microsoft Intune'); });