Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-04-21 09:58:35 +0300
committerJoas Schilling <coding@schilljs.com>2021-05-12 09:16:07 +0300
commitb6c6527705695a343b055f89bdde5ec497914ff1 (patch)
treeb52adc3a0b203add9a971cd1e2bf0ef9666af23a /build/integration/sharing_features
parent0599a8060ceb6518bb3981c88fc14f215d80f562 (diff)
Fix unauthorized OCS status in provisioning
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'build/integration/sharing_features')
-rw-r--r--build/integration/sharing_features/sharing-v1-part2.feature2
-rw-r--r--build/integration/sharing_features/sharing-v1-part3.feature4
-rw-r--r--build/integration/sharing_features/sharing-v1.feature2
3 files changed, 4 insertions, 4 deletions
diff --git a/build/integration/sharing_features/sharing-v1-part2.feature b/build/integration/sharing_features/sharing-v1-part2.feature
index 8fc06fbddeb..f9ebf6782b1 100644
--- a/build/integration/sharing_features/sharing-v1-part2.feature
+++ b/build/integration/sharing_features/sharing-v1-part2.feature
@@ -919,7 +919,7 @@ Feature: sharing
And As an "user1"
When Deleting last share
Then the OCS status code should be "403"
- And the HTTP status code should be "401"
+ And the HTTP status code should be "200"
Scenario: Keep usergroup shares (#22143)
Given As an "admin"
diff --git a/build/integration/sharing_features/sharing-v1-part3.feature b/build/integration/sharing_features/sharing-v1-part3.feature
index 5094111d025..42e0f1b6add 100644
--- a/build/integration/sharing_features/sharing-v1-part3.feature
+++ b/build/integration/sharing_features/sharing-v1-part3.feature
@@ -403,7 +403,7 @@ Feature: sharing
And Updating last share with
| permissions | 19 |
Then the OCS status code should be "403"
- And the HTTP status code should be "401"
+ And the HTTP status code should be "200"
Scenario: do not allow to increase permissions on non received share with user with resharing rights
Given As an "admin"
@@ -427,7 +427,7 @@ Feature: sharing
And Updating last share with
| permissions | 19 |
Then the OCS status code should be "403"
- And the HTTP status code should be "401"
+ And the HTTP status code should be "200"
Scenario: do not allow to increase link share permissions on reshare
Given As an "admin"
diff --git a/build/integration/sharing_features/sharing-v1.feature b/build/integration/sharing_features/sharing-v1.feature
index 2c391805331..fbcbb50b7de 100644
--- a/build/integration/sharing_features/sharing-v1.feature
+++ b/build/integration/sharing_features/sharing-v1.feature
@@ -54,7 +54,7 @@ Feature: sharing
| shareWith | a-room-token |
| shareType | 10 |
Then the OCS status code should be "403"
- And the HTTP status code should be "401"
+ And the HTTP status code should be "200"
Scenario: Creating a new mail share
Given dummy mail server is listening