1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 15:54:03 +00:00

Allow overriding root URL in tests by default (#1296)

* Allow overriding root URL in tests by default

* Add todo@revisit
This commit is contained in:
lukinovec 2025-01-17 10:20:40 +01:00 committed by GitHub
parent 5d3b3d3c21
commit 8b131ed647
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,8 +41,10 @@ class RootUrlBootstrapper implements TenancyBootstrapper
* due to an internal Livewire route, so you may want to disable it, while in tests * due to an internal Livewire route, so you may want to disable it, while in tests
* that are generating URLs in things like mails, the bootstrapper should be used * that are generating URLs in things like mails, the bootstrapper should be used
* just like in any queued job. * just like in any queued job.
*
* todo@revisit
*/ */
public static bool $rootUrlOverrideInTests = false; public static bool $rootUrlOverrideInTests = true;
public function __construct( public function __construct(
protected Repository $config, protected Repository $config,