From: Sergio Bertolin Date: Thu, 26 Nov 2015 13:19:49 +0000 (+0000) Subject: Added test case about a user without a share requesting it X-Git-Tag: v9.0beta1~670^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=094a1bc7cbb6dda3efb55cacf188bd679c9d1e11;p=nextcloud-server.git Added test case about a user without a share requesting it --- diff --git a/build/integration/features/sharing-v1.feature b/build/integration/features/sharing-v1.feature index 063a40b1d3c..32bb943d2d7 100644 --- a/build/integration/features/sharing-v1.feature +++ b/build/integration/features/sharing-v1.feature @@ -353,6 +353,16 @@ Feature: sharing Then the OCS status code should be "404" And the HTTP status code should be "200" + Scenario: Get a share with a user which didn't received the share + Given user "user0" exists + And user "user1" exists + And user "user2" exists + And file "textfile0.txt" from user "user0" is shared with user "user1" + And As an "user2" + When Getting info of last share + Then the OCS status code should be "404" + And the HTTP status code should be "200" + Scenario: Delete all group shares Given As an "admin" And user "user0" exists