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

Update ResourceSyncingTest.php

This commit is contained in:
MinaseTaki 2020-07-27 14:38:47 +03:00 committed by GitHub
parent aec73f28b4
commit 60e434fcf0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -591,8 +591,8 @@ class ResourceSyncingTest extends TestCase
'role' => 'superadmin', // unsynced
]);
//$this->assertCount(1, $tenant->users()->get());
$this->assertCount(1, ResourceUser::all());
$this->assertCount(0, $tenant->users()->get()); // No tenant user needed to create in this context.
//$this->assertCount(1, ResourceUser::all());
tenancy()->end();
}