1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 15:14:04 +00:00

Update pending tenant pulling test

This commit is contained in:
lukinovec 2022-10-21 14:38:40 +02:00
parent e20c391897
commit a13384dede

View file

@ -95,7 +95,9 @@ test('tenancy can check for pending tenants', function () {
}); });
test('tenancy can pull a pending tenant', function () { test('tenancy can pull a pending tenant', function () {
expect(Tenant::pullPending())->toBeInstanceOf(Tenant::class); Tenant::createPending();
expect(Tenant::pullPendingFromPool())->toBeInstanceOf(Tenant::class);
}); });
test('pulling a tenant from the pending tenant pool removes it from the pool', function () { test('pulling a tenant from the pending tenant pool removes it from the pool', function () {