TenantAtlas/tests/Unit
ahmido 93dbd3b13d fix(tests): remove per-file TestCase uses (#45)
What Changed

Removed per-file uses(TestCase::class ...) bindings in Unit tests to avoid Pest v4 “folder already uses the test case” discovery failure (kept RefreshDatabase where needed).
Updated the backup scheduling job test to pass the newly required BulkOperationService when manually calling RunBackupScheduleJob::handle().
Where

Unit (bulk cleanup across 56 files)
RunBackupScheduleJobTest.php
Verification

./vendor/bin/sail test → 443 passed, 5 skipped

Co-authored-by: Ahmed Darrazi <ahmeddarrazi@adsmac.local>
Reviewed-on: #45
2026-01-08 00:41:46 +00:00
..
BackupScheduling fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
Inventory feat/040-inventory-core (#43) 2026-01-07 14:54:24 +00:00
AppProtectionPolicyNormalizerTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
AssignmentBackupServiceTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
AssignmentFetcherTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
AssignmentFilterResolverTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
AssignmentRestoreServiceTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
BackupItemTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
BulkActionPermissionTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
BulkBackupSetDeleteJobTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
BulkBackupSetForceDeleteJobTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
BulkBackupSetRestoreJobTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
BulkOperationAbortMethodTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
BulkOperationRunProgressTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
BulkPolicyDeleteJobTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
BulkPolicyExportJobTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
BulkPolicyVersionForceDeleteJobTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
BulkPolicyVersionPruneJobTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
BulkPolicyVersionRestoreJobTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
BulkRestoreRunDeleteJobTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
BulkRestoreRunRestoreJobTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
CircuitBreakerTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
CompliancePolicyNormalizerTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
DefaultPolicyNormalizerDiffTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
DeviceConfigurationPolicyNormalizerTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
ExampleTest.php Initial commit from Specify template 2025-12-10 22:27:21 +01:00
FoundationMappingServiceTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
FoundationSnapshotServiceTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
GraphClientEndpointResolutionTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
GraphClientScopeTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
GraphContractFallbackTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
GraphContractRegistryActualDataTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
GraphContractRegistrySettingsApplySanitizerTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
GraphContractRegistrySettingsWriteStrategyTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
GraphContractRegistryTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
GroupResolverTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
ManagedDeviceAppConfigurationNormalizerTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
MicrosoftGraphClientListPoliciesSelectTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
MicrosoftGraphClientTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
ODataTypeValidationTest.php feat/011-restore-run-wizard (#37) 2026-01-07 01:40:04 +00:00
PolicyCaptureOrchestratorTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
PolicyNormalizerRoutingTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
PolicyNormalizerSettingsCatalogFlattenTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
PolicyNormalizerSettingsCatalogTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
PolicyNormalizerTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
PolicyPickerOptionLabelTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
PolicySnapshotServiceTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
PolicyVersionEligibilityTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
RbacOnboardingServiceTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
RestoreRunDeletableTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
RestoreRunTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
ScopeTagResolverTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
ScriptsPolicyNormalizerTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
SettingsCatalogPolicyNormalizerTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
TenantCurrentTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
TenantPermissionServiceTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
TenantResourceConsentUrlTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
TenantScopeTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00
VersionDiffTest.php feat: TenantPilot v1 - Complete implementation (Phases 1-12) 2025-12-12 02:27:54 +01:00
WindowsDriverUpdateProfileNormalizerTest.php fix(tests): remove per-file TestCase uses (#45) 2026-01-08 00:41:46 +00:00