mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 19:54:04 +00:00
Update ManualModeTest.php
This commit is contained in:
parent
fcf07e99db
commit
03d9dd6813
1 changed files with 4 additions and 2 deletions
|
|
@ -12,7 +12,9 @@ test('manual tenancy initialization works', function () {
|
|||
|
||||
$tenant = Tenant::create();
|
||||
|
||||
tenancy()->initialize($tenant);
|
||||
expect(array_keys(config('database.connections')))->not()->toContain('tenant');
|
||||
|
||||
expect(tenancy()->initialized)->toBeTrue();
|
||||
tenancy()->initialize($tenant);
|
||||
|
||||
expect(array_keys(config('database.connections')))->toContain('tenant');
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue