diff --git a/src/Bootstrappers/RootUrlBootstrapper.php b/src/Bootstrappers/RootUrlBootstrapper.php index c6a04434..1d7542e6 100644 --- a/src/Bootstrappers/RootUrlBootstrapper.php +++ b/src/Bootstrappers/RootUrlBootstrapper.php @@ -35,6 +35,12 @@ class RootUrlBootstrapper implements TenancyBootstrapper protected string|null $originalRootUrl = null; + /** + * You may want to selectively enable or disable this bootstrapper in specific tests. + * For instance, when using `Livewire::test()` this bootstrapper may cause problems, + * while in tests that are generating URLs in things like mails the bootstrapper should + * be used just like in any queued job. + */ public static bool $rootUrlOverrideInTests = false; public function __construct(