Skip to content

Commit

Permalink
Allow overriding root URL in tests by default (#1296)
Browse files Browse the repository at this point in the history
* Allow overriding root URL in tests by default

* Add todo@revisit
  • Loading branch information
lukinovec authored Jan 17, 2025
1 parent 5d3b3d3 commit 8b131ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Bootstrappers/RootUrlBootstrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ class RootUrlBootstrapper implements TenancyBootstrapper
* 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
* just like in any queued job.
*
* todo@revisit
*/
public static bool $rootUrlOverrideInTests = false;
public static bool $rootUrlOverrideInTests = true;

public function __construct(
protected Repository $config,
Expand Down

0 comments on commit 8b131ed

Please sign in to comment.