From 6360a75d6d5aabbea1407c96afda6368ee08083c Mon Sep 17 00:00:00 2001 From: lukinovec Date: Tue, 3 Jun 2025 11:12:24 +0200 Subject: [PATCH] Fix assertion --- tests/ResourceSyncingTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ResourceSyncingTest.php b/tests/ResourceSyncingTest.php index baffe9ef..4554c1db 100644 --- a/tests/ResourceSyncingTest.php +++ b/tests/ResourceSyncingTest.php @@ -1258,7 +1258,7 @@ test('scopeGetModelQuery can make resource syncing work with global scopes', fun // Verify the syncing worked correctly when scopeGetModelQuery was used if ($scopeGetModelQuery) { - expect(CentralUser::count())->toBeOne(); // Should still be just one central user + expect(CentralUser::count())->toBe(1); // Should still be just one central user expect(CentralUser::first()->global_id)->toBe($centralUser->global_id); } })->with([