From 7f49af4b0d6d46a2b6a14a5d419b3e2714ff2c34 Mon Sep 17 00:00:00 2001 From: lukinovec Date: Mon, 13 Feb 2023 15:03:25 +0100 Subject: [PATCH] Create databases for newly created tenants in BroadcastingTest --- tests/BroadcastingTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/BroadcastingTest.php b/tests/BroadcastingTest.php index f02017e1..aeb70de2 100644 --- a/tests/BroadcastingTest.php +++ b/tests/BroadcastingTest.php @@ -14,6 +14,7 @@ use Stancl\Tenancy\Listeners\RevertToCentralContext; use Illuminate\Contracts\Broadcasting\Broadcaster as BroadcasterContract; beforeEach(function() { + withTenantDatabases(); Event::listen(TenancyInitialized::class, BootstrapTenancy::class); Event::listen(TenancyEnded::class, RevertToCentralContext::class); });