Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust provisioning API tests after #36665 #37361

Merged
merged 1 commit into from
Mar 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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