From 8b131ed647be857abcf982b50d8e6030c7e896d3 Mon Sep 17 00:00:00 2001 From: lukinovec Date: Fri, 17 Jan 2025 10:20:40 +0100 Subject: [PATCH] Allow overriding root URL in tests by default (#1296) * Allow overriding root URL in tests by default * Add todo@revisit --- src/Bootstrappers/RootUrlBootstrapper.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Bootstrappers/RootUrlBootstrapper.php b/src/Bootstrappers/RootUrlBootstrapper.php index 3a650169..f45b8d74 100644 --- a/src/Bootstrappers/RootUrlBootstrapper.php +++ b/src/Bootstrappers/RootUrlBootstrapper.php @@ -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,