1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 09:34:04 +00:00
tenancy/tests/Bootstrappers
Samuel Štancl cab8ecebec
Create tenant storage directories in FilesystemTenancyBootstrapper (#1410)
This is because the CreateTenantStorage listener only runs when
a tenant is created, but in multi-server setups the directory may
need to be created each time a tenant is *used*, not just created.

Also changed the listeners to use TenantEvent instead of specific
events, to make it possible to use them with other events, such as
TenancyBootstrapped.

Also update permission bits in a few mkdir() calls to better scope
data to the current OS user.

Also fix a typo in CacheTenancyBootstrapper (exception message).
2025-11-04 21:16:39 +01:00
..
BootstrapperTest.php [4.x] Laravel 12 support (#1321) 2025-02-25 16:26:18 +01:00
BroadcastChannelPrefixBootstrapperTest.php [4.x] Laravel 12 support (#1321) 2025-02-25 16:26:18 +01:00
BroadcastingConfigBootstrapperTest.php Resolve test to-dos (#45) 2024-04-18 00:22:03 +02: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
DatabaseTenancyBootstrapper.php [4.x] Laravel 12 support (#1321) 2025-02-25 16:26:18 +01:00
FilesystemTenancyBootstrapperTest.php Create tenant storage directories in FilesystemTenancyBootstrapper (#1410) 2025-11-04 21:16:39 +01:00
FortifyRouteBootstrapperTest.php [4.x] Resolve testing todos (#1361) 2025-08-03 23:21:03 +02: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 [4.x] Make TenancyUrlGenerator inherit the original UrlGenerator's scheme (http or https) (#1390) 2025-10-28 13:26:50 +01:00