mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 20:34:03 +00:00
Merge branch 'master' into fix-url-bootstrappers
This commit is contained in:
commit
2da2ffbc2b
8 changed files with 249 additions and 148 deletions
|
|
@ -93,8 +93,14 @@ test('central helper can be used in tenant requests', function (bool $enabled, b
|
|||
}
|
||||
}
|
||||
})->with([
|
||||
['enabled' => false, 'shouldThrow' => true],
|
||||
['enabled' => true, 'shouldThrow' => false],
|
||||
[
|
||||
false, // Disabled
|
||||
true // Should throw
|
||||
],
|
||||
[
|
||||
true, // Enabled
|
||||
false // Should not throw
|
||||
],
|
||||
]);
|
||||
|
||||
test('tenant run helper can be used on central requests', function (bool $enabled, bool $shouldThrow) {
|
||||
|
|
@ -140,6 +146,12 @@ test('tenant run helper can be used on central requests', function (bool $enable
|
|||
}
|
||||
}
|
||||
})->with([
|
||||
['enabled' => false, 'shouldThrow' => true],
|
||||
['enabled' => true, 'shouldThrow' => false],
|
||||
[
|
||||
false, // Disabled
|
||||
true // Should throw
|
||||
],
|
||||
[
|
||||
true, // Enabled
|
||||
false // Should not throw
|
||||
],
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue