mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 03:34:03 +00:00
Fix assertion
This commit is contained in:
parent
add8a96b32
commit
6360a75d6d
1 changed files with 1 additions and 1 deletions
|
|
@ -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([
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue