From f70aa9fb54b7294fe4ae4d11acd4f10d50d98593 Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Thu, 23 Mar 2023 09:47:11 +0100 Subject: [PATCH] adjust tests after #36665 Signed-off-by: Julien Veyssier --- .../tests/Controller/UsersControllerTest.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/provisioning_api/tests/Controller/UsersControllerTest.php b/apps/provisioning_api/tests/Controller/UsersControllerTest.php index 9e2da244f7bb1..7e6462a8ddfaf 100644 --- a/apps/provisioning_api/tests/Controller/UsersControllerTest.php +++ b/apps/provisioning_api/tests/Controller/UsersControllerTest.php @@ -1071,6 +1071,7 @@ public function testGetUserDataAsAdmin() { 'quota' => ['DummyValue'], 'email' => 'demo@nextcloud.com', 'displayname' => 'Demo User', + 'display-name' => 'Demo User', 'phone' => 'phone', 'address' => 'address', 'website' => 'website', @@ -1210,6 +1211,7 @@ public function testGetUserDataAsSubAdminAndUserIsAccessible() { 'quota' => ['DummyValue'], 'email' => 'demo@nextcloud.com', 'displayname' => 'Demo User', + 'display-name' => 'Demo User', 'phone' => 'phone', 'address' => 'address', 'website' => 'website', @@ -1387,6 +1389,7 @@ public function testGetUserDataAsSubAdminSelfLookup() { 'quota' => ['DummyValue'], 'email' => 'subadmin@nextcloud.com', 'displayname' => 'Subadmin User', + 'display-name' => 'Subadmin User', 'phone' => 'phone', 'address' => 'address', 'website' => 'website', @@ -3542,6 +3545,7 @@ public function testGetCurrentUserLoggedIn() { 'quota' => ['DummyValue'], 'email' => 'demo@nextcloud.com', 'displayname' => 'Demo User', + 'display-name' => 'Demo User', 'phone' => 'phone', 'address' => 'address', 'website' => 'website', @@ -3629,6 +3633,7 @@ public function testGetUser() { 'twitter' => 'twitter', 'fediverse' => 'fediverse', 'displayname' => 'Demo User', + 'display-name' => 'Demo User', 'organisation' => 'organisation', 'role' => 'role', 'headline' => 'headline',