1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-09-20 16:04:06 +00:00
tenancy/tests/Bootstrappers
lukinovec 9cda4cb3e4 Forget scoped disk's parent no matter how nested it is
This includes moving the TenantAssetController baseDiskName() method to FSBootstrapper and making it public static, since the same logic is used in two places now. Also cover the edge case where a scoped disk A has a scoped disk B as its parent, and B has A as its parent -- in that case, the method would be stuck in an infinite loop (also added separate test for this, commenting out the $visited-related code in baseDiskName will make the test fail).

Also updated the assetRoot's unnamed disk exception message.
2026-09-07 18:32:15 -07:00
..
BootstrapperTest.php [4.x] Laravel 12 support (#1321) 2025-02-25 16:26:18 +01:00
BroadcastChannelPrefixBootstrapperTest.php [MINOR BC] BroadcastingConfigBootstrapper rewrite, bugfixes (#1448) 2026-07-23 00:26:04 -07:00
BroadcastingConfigBootstrapperTest.php [MINOR BC] BroadcastingConfigBootstrapper rewrite, bugfixes (#1448) 2026-07-23 00:26:04 -07:00
CacheTagsBootstrapperTest.php [4.x] Support database cache store tenancy (#1290) (resolve #852) 2025-08-08 00:54:01 +02:00
CacheTenancyBootstrapperTest.php Resolve test to-dos (#45) 2024-04-18 00:22:03 +02:00
DatabaseSessionBootstrapperTest.php [4.x] Laravel 12 support (#1321) 2025-02-25 16:26:18 +01:00
DatabaseTenancyBootstrapperTest.php Correct DatabaseTenancyBootstrapperTest (#1466) 2026-06-30 18:59:46 -07:00
FilesystemTenancyBootstrapperTest.php Forget scoped disk's parent no matter how nested it is 2026-09-07 18:32:15 -07:00
FortifyRouteBootstrapperTest.php [4.x] Resolve testing todos (#1361) 2025-08-03 23:21:03 +02:00
LogChannelBootstrapperTest.php Make LogChannelBootstrapper not depend on suffixed storage_path() 2026-09-07 18:32:15 -07:00
MailConfigBootstrapper.php rename mail bootstrapper test file 2024-09-27 21:03:39 +02:00
RootUrlBootstrapperTest.php [4.x] Improve RootUrl and UrlGenerator bootstrappers (#1294) 2025-01-16 10:30:06 +01:00
UrlGeneratorBootstrapperTest.php TenancyUrlGenerator: override toRoute(), refactor (#1439) 2026-06-06 14:52:37 -07:00