mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 12:24:04 +00:00
Improve test name
This commit is contained in:
parent
05ebee24c4
commit
b08c76974a
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue