test(004): isolate restore group mapping from env tenant

This commit is contained in:
Ahmed Darrazi 2025-12-23 22:46:08 +01:00
parent a7f3293689
commit 185962406d

View File

@ -14,6 +14,11 @@
uses(RefreshDatabase::class); 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 () { test('restore wizard shows group mapping for unresolved groups', function () {
$tenant = Tenant::create([ $tenant = Tenant::create([
'tenant_id' => 'tenant-1', 'tenant_id' => 'tenant-1',