From b08c76974a6880c434282930e5d5a69af87e140f Mon Sep 17 00:00:00 2001 From: lukinovec Date: Tue, 3 Jun 2025 09:30:58 +0200 Subject: [PATCH] Improve test name --- tests/ResourceSyncingTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ResourceSyncingTest.php b/tests/ResourceSyncingTest.php index c4e6a77e..1f28b83b 100644 --- a/tests/ResourceSyncingTest.php +++ b/tests/ResourceSyncingTest.php @@ -1198,7 +1198,7 @@ test('resource creation works correctly when central resource provides defaults expect($centralUser->foo)->toBe('bar'); }); -test('resource syncing works correctly when using a global scope on a tenant model', function (bool $scopeGetModelQuery) { +test('scopeGetModelQuery can make resource syncing work with global scopes', function (bool $scopeGetModelQuery) { if ($scopeGetModelQuery) { // Add a scope that bypasses the global scope UpdateOrCreateSyncedResource::$scopeGetModelQuery = function (Builder $query) {