diff options
author | Julien Veyssier <julien-nc@posteo.net> | 2023-03-23 09:47:11 +0100 |
---|---|---|
committer | Julien Veyssier <julien-nc@posteo.net> | 2023-03-23 18:07:43 +0100 |
commit | 69a1fe206f3e9d43a3efd74dc46a9723d57bb97e (patch) | |
tree | 73e08e3ce9418aa96ccf5616ce6beb3d6f6eed14 /apps/provisioning_api/tests | |
parent | 1d4ff2cf10596e31554ebfbd47997894b37ef130 (diff) | |
download | nextcloud-server-69a1fe206f3e9d43a3efd74dc46a9723d57bb97e.tar.gz nextcloud-server-69a1fe206f3e9d43a3efd74dc46a9723d57bb97e.zip |
adjust tests after #36665
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Diffstat (limited to 'apps/provisioning_api/tests')
-rw-r--r-- | apps/provisioning_api/tests/Controller/UsersControllerTest.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/provisioning_api/tests/Controller/UsersControllerTest.php b/apps/provisioning_api/tests/Controller/UsersControllerTest.php index 9e2da244f7b..b8b8fa8715c 100644 --- a/apps/provisioning_api/tests/Controller/UsersControllerTest.php +++ b/apps/provisioning_api/tests/Controller/UsersControllerTest.php @@ -1071,6 +1071,7 @@ class UsersControllerTest extends TestCase { 'quota' => ['DummyValue'], 'email' => 'demo@nextcloud.com', 'displayname' => 'Demo User', + 'display-name' => 'Demo User', 'phone' => 'phone', 'address' => 'address', 'website' => 'website', @@ -1210,6 +1211,7 @@ class UsersControllerTest extends TestCase { 'quota' => ['DummyValue'], 'email' => 'demo@nextcloud.com', 'displayname' => 'Demo User', + 'display-name' => 'Demo User', 'phone' => 'phone', 'address' => 'address', 'website' => 'website', @@ -1387,6 +1389,7 @@ class UsersControllerTest extends TestCase { 'quota' => ['DummyValue'], 'email' => 'subadmin@nextcloud.com', 'displayname' => 'Subadmin User', + 'display-name' => 'Subadmin User', 'phone' => 'phone', 'address' => 'address', 'website' => 'website', @@ -3542,6 +3545,7 @@ class UsersControllerTest extends TestCase { 'quota' => ['DummyValue'], 'email' => 'demo@nextcloud.com', 'displayname' => 'Demo User', + 'display-name' => 'Demo User', 'phone' => 'phone', 'address' => 'address', 'website' => 'website', @@ -3560,6 +3564,8 @@ class UsersControllerTest extends TestCase { 'enabled' => 'true', 'quota' => ['DummyValue'], 'email' => 'demo@nextcloud.com', + 'displayname' => 'Demo User', + 'display-name' => 'Demo User', 'phone' => 'phone', 'address' => 'address', 'website' => 'website', @@ -3570,7 +3576,6 @@ class UsersControllerTest extends TestCase { 'headline' => 'headline', 'biography' => 'biography', 'profile_enabled' => '1', - 'display-name' => 'Demo User' ]; $this->assertSame($expected, $api->getCurrentUser()->getData()); @@ -3629,6 +3634,7 @@ class UsersControllerTest extends TestCase { 'twitter' => 'twitter', 'fediverse' => 'fediverse', 'displayname' => 'Demo User', + 'display-name' => 'Demo User', 'organisation' => 'organisation', 'role' => 'role', 'headline' => 'headline', |