mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 21: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:
parent
5d3b3d3c21
commit
8b131ed647
1 changed files with 3 additions and 1 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue