mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 06:04:03 +00:00
Create databases for newly created tenants in BroadcastingTest
This commit is contained in:
parent
8320fc5182
commit
7f49af4b0d
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue