aboutsummaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/tests/Controller/UsersControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/provisioning_api/tests/Controller/UsersControllerTest.php')
-rw-r--r--apps/provisioning_api/tests/Controller/UsersControllerTest.php8
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',