Skip to content

Commit

Permalink
adjust tests after #36665
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
  • Loading branch information
julien-nc committed Mar 23, 2023
1 parent 1d4ff2c commit 69a1fe2
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand All @@ -3560,6 +3564,8 @@ public function testGetCurrentUserLoggedIn() {
'enabled' => 'true',
'quota' => ['DummyValue'],
'email' => 'demo@nextcloud.com',
'displayname' => 'Demo User',
'display-name' => 'Demo User',
'phone' => 'phone',
'address' => 'address',
'website' => 'website',
Expand All @@ -3570,7 +3576,6 @@ public function testGetCurrentUserLoggedIn() {
'headline' => 'headline',
'biography' => 'biography',
'profile_enabled' => '1',
'display-name' => 'Demo User'
];

$this->assertSame($expected, $api->getCurrentUser()->getData());
Expand Down Expand Up @@ -3629,6 +3634,7 @@ public function testGetUser() {
'twitter' => 'twitter',
'fediverse' => 'fediverse',
'displayname' => 'Demo User',
'display-name' => 'Demo User',
'organisation' => 'organisation',
'role' => 'role',
'headline' => 'headline',
Expand Down

0 comments on commit 69a1fe2

Please sign in to comment.