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

Improve comment

This commit is contained in:
lukinovec 2025-06-12 09:26:55 +02:00
parent f96acc7423
commit 215d53dbd1

View file

@ -1256,8 +1256,9 @@ test('global scopes on syncable models can break resource syncing', function ()
$query->withoutGlobalScope(VisibleScope::class); $query->withoutGlobalScope(VisibleScope::class);
}; };
// Run exactly the same code as above, but this time the central resource will be found and updated successfully. // Run essentially the same code as above, but this time,
// The central resource already exists, and now, it IS found, no exception is thrown. // the central resource will be found and updated successfully.
// The central resource already exists, and now, it IS found, and no exception is thrown.
$tenant2->run(fn () => TenantUser::create([ $tenant2->run(fn () => TenantUser::create([
'global_id' => 'foo', 'global_id' => 'foo',
'name' => 'tenant2 user', 'name' => 'tenant2 user',