From c109d27a9fd4d95f8ffe84f6e13c22a797688215 Mon Sep 17 00:00:00 2001 From: Abrar Ahmad Date: Mon, 8 Aug 2022 17:06:17 +0500 Subject: [PATCH] Update ResourceSyncingTest.php --- tests/ResourceSyncingTest.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/ResourceSyncingTest.php b/tests/ResourceSyncingTest.php index 80a0f96b..da31b4e6 100644 --- a/tests/ResourceSyncingTest.php +++ b/tests/ResourceSyncingTest.php @@ -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',