diff --git a/tests/Feature/RestoreGroupMappingTest.php b/tests/Feature/RestoreGroupMappingTest.php index f746750..2397796 100644 --- a/tests/Feature/RestoreGroupMappingTest.php +++ b/tests/Feature/RestoreGroupMappingTest.php @@ -14,6 +14,11 @@ uses(RefreshDatabase::class); +beforeEach(function () { + putenv('INTUNE_TENANT_ID'); + unset($_ENV['INTUNE_TENANT_ID'], $_SERVER['INTUNE_TENANT_ID']); +}); + test('restore wizard shows group mapping for unresolved groups', function () { $tenant = Tenant::create([ 'tenant_id' => 'tenant-1',