From 185962406d381a6da70d507ce8be9285338f4697 Mon Sep 17 00:00:00 2001 From: Ahmed Darrazi Date: Tue, 23 Dec 2025 22:46:08 +0100 Subject: [PATCH] test(004): isolate restore group mapping from env tenant --- tests/Feature/RestoreGroupMappingTest.php | 5 +++++ 1 file changed, 5 insertions(+) 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',