From 79da8574a89de5a02c540ee0e290e6db9df2225e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Fri, 28 Oct 2022 00:54:19 +0200 Subject: [PATCH] all() -> get() --- tests/PendingTenantsTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/PendingTenantsTest.php b/tests/PendingTenantsTest.php index d2e5baad..1480dd27 100644 --- a/tests/PendingTenantsTest.php +++ b/tests/PendingTenantsTest.php @@ -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::withPending()->all()->count())->toBe(0); + expect(Tenant::withPending()->get()->count())->toBe(0); // All tenants Tenant::pullPending(); - expect(Tenant::withPending()->all()->count())->toBe(1); + expect(Tenant::withPending()->get()->count())->toBe(1); // All tenants }); test('pending tenants are included in all queries based on the include_in_queries config', function () {