diff options
author | Hamza Mahjoubi <hamzamahjoubi221@gmail.com> | 2024-09-09 15:08:15 +0200 |
---|---|---|
committer | Hamza Mahjoubi <hamzamahjoubi221@gmail.com> | 2024-09-30 17:19:32 +0200 |
commit | 9be2f060f913d1bd55809bc3fe5bfaf63976052c (patch) | |
tree | 95acd9240dc086d5eb5c9dc9f9a9ef8ad983b7c2 /build | |
parent | 6e8c532932a3d8775decce929df77aa5c552e74d (diff) | |
download | nextcloud-server-9be2f060f913d1bd55809bc3fe5bfaf63976052c.tar.gz nextcloud-server-9be2f060f913d1bd55809bc3fe5bfaf63976052c.zip |
fix: provision api's status codesfix/provisionApi-status-codes
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
Diffstat (limited to 'build')
-rw-r--r-- | build/integration/features/provisioning-v1.feature | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/build/integration/features/provisioning-v1.feature b/build/integration/features/provisioning-v1.feature index 73e159464bd..9e281fbd955 100644 --- a/build/integration/features/provisioning-v1.feature +++ b/build/integration/features/provisioning-v1.feature @@ -214,7 +214,7 @@ Feature: provisioning And sending "PUT" to "/cloud/users/brand-new-user" with | key | additional_mail | | value | no-reply@nextcloud.com | - And the OCS status code should be "102" + And the OCS status code should be "101" And the HTTP status code should be "200" And sending "PUT" to "/cloud/users/brand-new-user" with | key | additional_mail | @@ -225,7 +225,7 @@ Feature: provisioning And sending "PUT" to "/cloud/users/brand-new-user" with | key | additional_mail | | value | no.reply2@nextcloud.com | - And the OCS status code should be "102" + And the OCS status code should be "101" And the HTTP status code should be "200" Then user "brand-new-user" has | id | brand-new-user | @@ -270,17 +270,17 @@ Feature: provisioning When sending "PUT" to "/cloud/users/brand-new-user" with | key | phoneScope | | value | invalid | - Then the OCS status code should be "102" + Then the OCS status code should be "101" And the HTTP status code should be "200" When sending "PUT" to "/cloud/users/brand-new-user" with | key | displaynameScope | | value | v2-private | - Then the OCS status code should be "102" + Then the OCS status code should be "101" And the HTTP status code should be "200" When sending "PUT" to "/cloud/users/brand-new-user" with | key | emailScope | | value | v2-private | - Then the OCS status code should be "102" + Then the OCS status code should be "101" And the HTTP status code should be "200" Scenario: Edit a user account multi-value property scopes with invalid or unsupported value @@ -326,7 +326,7 @@ Feature: provisioning When sending "PUT" to "/cloud/users/brand-new-user" with | key | phoneScope | | value | v2-private | - Then the OCS status code should be "103" + Then the OCS status code should be "113" And the HTTP status code should be "200" Scenario: Search by phone number |