mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 09:34:05 +00:00
Rename bootstrapper
This commit is contained in:
parent
28efc0ca97
commit
8ccc27e8c3
2 changed files with 3 additions and 3 deletions
|
|
@ -17,12 +17,12 @@ use Stancl\Tenancy\Jobs\DeleteTenantsPostgresUser;
|
|||
use Illuminate\Database\Eloquent\Concerns\HasUuids;
|
||||
use Stancl\Tenancy\Jobs\CreatePostgresUserForTenant;
|
||||
use Stancl\Tenancy\Listeners\RevertToCentralContext;
|
||||
use Stancl\Tenancy\Bootstrappers\Integrations\PostgresTenancyBootstrapper;
|
||||
use Stancl\Tenancy\Bootstrappers\Integrations\PostgresSingleDatabaseBootstrapper;
|
||||
|
||||
beforeEach(function () {
|
||||
DB::purge('central');
|
||||
|
||||
config(['tenancy.bootstrappers' => [PostgresTenancyBootstrapper::class]]);
|
||||
config(['tenancy.bootstrappers' => [PostgresSingleDatabaseBootstrapper::class]]);
|
||||
|
||||
Event::listen(TenancyInitialized::class, BootstrapTenancy::class);
|
||||
Event::listen(TenancyEnded::class, RevertToCentralContext::class);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue