mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 16:14:03 +00:00
add comment
This commit is contained in:
parent
fdb6e12fdd
commit
d42e59b2a7
1 changed files with 2 additions and 0 deletions
|
|
@ -29,6 +29,8 @@ test('manual tenancy initialization works', function () {
|
|||
pest()->assertArrayNotHasKey('tenant', config('database.connections'));
|
||||
|
||||
tenancy()->initialize($tenant);
|
||||
|
||||
// Use the `tenant` connection to make sure the connection is useable and `tenant` connection is created inside the `db` class
|
||||
createUsersTable();
|
||||
|
||||
expect(app('db')->getDefaultConnection())->toBe('tenant');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue