aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorHamza <40746210+hamza221@users.noreply.github.com>2024-10-30 10:07:51 +0100
committerGitHub <noreply@github.com>2024-10-30 10:07:51 +0100
commitd99c24bdcad7467a2a74e58298b05882a53a08d0 (patch)
tree7a58db3d110af189a235c61abf7ce569d06d67bb /build
parent42c7aab402c17051c251af38dadd8e00cad8f801 (diff)
parent061b4e99fb834efaf4a085e8944e99c16da1ac61 (diff)
downloadnextcloud-server-d99c24bdcad7467a2a74e58298b05882a53a08d0.tar.gz
nextcloud-server-d99c24bdcad7467a2a74e58298b05882a53a08d0.zip
Merge pull request #48472 from nextcloud/backport/47846/stable28
[stable28] fix: provision api's status codes
Diffstat (limited to 'build')
-rw-r--r--build/integration/features/provisioning-v1.feature12
1 files changed, 6 insertions, 6 deletions
diff --git a/build/integration/features/provisioning-v1.feature b/build/integration/features/provisioning-v1.feature
index 0d1d5b1a345..be5473ea1e7 100644
--- a/build/integration/features/provisioning-v1.feature
+++ b/build/integration/features/provisioning-v1.feature
@@ -208,7 +208,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 |
@@ -219,7 +219,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 |
@@ -264,17 +264,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
@@ -320,7 +320,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