diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-09-03 17:42:06 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-10-04 19:25:10 +0200 |
commit | a7526d74ae2e5b0da4e1b27c87a42ffc81f51ef2 (patch) | |
tree | b4ea57d75b0d8d34c8ff963fd84ec1f90f25d556 /build/integration/sharing_features/sharing-v1.feature | |
parent | 99404bdfb3b52aca8875384857142528472856e9 (diff) | |
download | nextcloud-server-a7526d74ae2e5b0da4e1b27c87a42ffc81f51ef2.tar.gz nextcloud-server-a7526d74ae2e5b0da4e1b27c87a42ffc81f51ef2.zip |
Do not expect a 200 HTTP status code when updating a share
This will be needed to test scenarios in which updating a share return a
different HTTP status code, like 401.
The assertion for the 200 HTTP status code was added in those scenarios
that tested updating a share (that is, those that were also checking the
OCS status code), but not in those in which updating a share was just a
preparatory step for the actual test (in the same way that the HTTP
status code is not checked in those tests when creating a share).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'build/integration/sharing_features/sharing-v1.feature')
-rw-r--r-- | build/integration/sharing_features/sharing-v1.feature | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build/integration/sharing_features/sharing-v1.feature b/build/integration/sharing_features/sharing-v1.feature index dd5cc9fff4f..37c411d987b 100644 --- a/build/integration/sharing_features/sharing-v1.feature +++ b/build/integration/sharing_features/sharing-v1.feature @@ -118,6 +118,7 @@ Feature: sharing And Updating last share with | expireDate | +3 days | And the OCS status code should be "100" + And the HTTP status code should be "200" And Getting info of last share Then the OCS status code should be "100" And the HTTP status code should be "200" @@ -150,6 +151,7 @@ Feature: sharing And Updating last share with | password | publicpw | And the OCS status code should be "100" + And the HTTP status code should be "200" And Getting info of last share Then the OCS status code should be "100" And the HTTP status code should be "200" @@ -181,6 +183,7 @@ Feature: sharing And Updating last share with | permissions | 7 | And the OCS status code should be "100" + And the HTTP status code should be "200" And Getting info of last share Then the OCS status code should be "100" And the HTTP status code should be "200" @@ -212,6 +215,7 @@ Feature: sharing And Updating last share with | permissions | 4 | And the OCS status code should be "100" + And the HTTP status code should be "200" And Getting info of last share Then the OCS status code should be "100" And the HTTP status code should be "200" @@ -243,6 +247,7 @@ Feature: sharing And Updating last share with | publicUpload | true | And the OCS status code should be "100" + And the HTTP status code should be "200" And Getting info of last share Then the OCS status code should be "100" And the HTTP status code should be "200" |