From a13384dedeeefa8f240435d4608fd7cf5dcf6ecf Mon Sep 17 00:00:00 2001 From: lukinovec Date: Fri, 21 Oct 2022 14:38:40 +0200 Subject: [PATCH] Update pending tenant pulling test --- tests/PendingTenantsTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/PendingTenantsTest.php b/tests/PendingTenantsTest.php index 3529db61..6363ba9c 100644 --- a/tests/PendingTenantsTest.php +++ b/tests/PendingTenantsTest.php @@ -95,7 +95,9 @@ test('tenancy can check for pending tenants', 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 () {