1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 14:34:04 +00:00
tenancy/tests/Bootstrappers
Samuel Štancl 5d3b3d3c21
[4.x] Improve RootUrl and UrlGenerator bootstrappers (#1294)
* Make RootUrlBootstrapper run ONLY in CLI by default (add $rootUrlOverrideInTests), work with resolved UrlGenerator

* Make resolving 'url' return a pre-created generator instance instead of creating it on every app('url') call

* Take care of doubling tenant keys in TenancyUrlGenerator, add regression test for using UrlGenerator and RootUrl bootstrappers together

* Fix code style (php-cs-fixer)

* refactor RootUrlBootstrapper

* add docblock

* clarify docblock

* simplify test: use concrete values instead of overly dynamic code

* Fix bootstrapper order in test, add url('/') assertion

* Use $this->app instead of app()

* Improve TenancyUrlGenerator and RootUrlBootstrapperTest clarity

* Revert attempt to maintain compatibility between the two bootstrappers

* Delete bootstrapper combining test

* Fix code style (php-cs-fixer)

---------

Co-authored-by: lukinovec <lukinovec@gmail.com>
Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
2025-01-16 10:30:06 +01:00
..
BootstrapperTest.php Cache prefixing logic rewrite, session scoping improvements, tests refactor (#43) 2024-04-09 20:40:27 +02:00
BroadcastChannelPrefixBootstrapperTest.php Improve the tests where the removed universal_channel() was still used (#64) 2024-10-11 22:50:38 +02:00
BroadcastingConfigBootstrapperTest.php Resolve test to-dos (#45) 2024-04-18 00:22:03 +02:00
CacheTagsBootstrapperTest.php Cache prefixing logic rewrite, session scoping improvements, tests refactor (#43) 2024-04-09 20:40:27 +02:00
CacheTenancyBootstrapperTest.php Resolve test to-dos (#45) 2024-04-18 00:22:03 +02:00
DatabaseSessionBootstrapperTest.php Improve early identification tests (#66) 2024-12-20 03:42:23 +01:00
DatabaseTenancyBootstrapper.php Cache prefixing logic rewrite, session scoping improvements, tests refactor (#43) 2024-04-09 20:40:27 +02:00
FilesystemTenancyBootstrapperTest.php Resolve test to-dos (#45) 2024-04-18 00:22:03 +02:00
FortifyRouteBootstrapperTest.php Resolve test to-dos (#45) 2024-04-18 00:22: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 Resolve test to-dos (#45) 2024-04-18 00:22:03 +02:00