mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-15 09:24:02 +00:00
Update ResourceSyncingTest.php
This commit is contained in:
parent
b90fb6ec77
commit
c109d27a9f
1 changed files with 8 additions and 2 deletions
|
|
@ -629,7 +629,13 @@ class CentralUser extends Model implements SyncMaster
|
||||||
|
|
||||||
public function getCreateAttributeNames(): array
|
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
|
public function getCreateAttributeNames(): array
|
||||||
{
|
{
|
||||||
// attributes should be used when syncing resource from DB
|
// attributes should be used when syncing resources from DB
|
||||||
return [
|
return [
|
||||||
'global_id',
|
'global_id',
|
||||||
'name',
|
'name',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue