mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 14:34:04 +00:00
fix all() call
This commit is contained in:
parent
db016a1453
commit
a9673f3f91
1 changed files with 2 additions and 2 deletions
|
|
@ -109,11 +109,11 @@ test('pulling a tenant from the pending tenant pool removes it from the pool', f
|
|||
});
|
||||
|
||||
test('a new tenant gets created while pulling a pending tenant if the pending pool is empty', function () {
|
||||
expect(Tenant::all()->count())->toBe(0);
|
||||
expect(Tenant::withPending()->all()->count())->toBe(0);
|
||||
|
||||
Tenant::pullPending();
|
||||
|
||||
expect(Tenant::all()->count())->toBe(1);
|
||||
expect(Tenant::withPending()->all()->count())->toBe(1);
|
||||
});
|
||||
|
||||
test('pending tenants are included in all queries based on the include_in_queries config', function () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue