1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-13 03:34:04 +00:00

Update ResourceSyncingTest.php

This commit is contained in:
Abrar Ahmad 2022-08-08 17:06:17 +05:00
parent b90fb6ec77
commit c109d27a9f

View file

@ -629,7 +629,13 @@ class CentralUser extends Model implements SyncMaster
public function getCreateAttributeNames(): array
{
return [];
return [
'global_id',
'name',
'password',
'email',
'role'
];
}
}
@ -669,7 +675,7 @@ class ResourceUser extends Model implements Syncable
public function getCreateAttributeNames(): array
{
// attributes should be used when syncing resource from DB
// attributes should be used when syncing resources from DB
return [
'global_id',
'name',