From 470743cbd24c6b714f17c98499a86b586b6008f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Wed, 4 Nov 2020 16:36:43 +0100 Subject: [PATCH] document deviation from core in ocis specific test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jörn Friedrich Dreyer --- ...rePublicLink2-uploadToPublicLinkShare.feature | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/ocis/tests/acceptance/features/apiOcisSpecific/apiSharePublicLink2-uploadToPublicLinkShare.feature b/ocis/tests/acceptance/features/apiOcisSpecific/apiSharePublicLink2-uploadToPublicLinkShare.feature index 320ce525b..51646d2b4 100644 --- a/ocis/tests/acceptance/features/apiOcisSpecific/apiSharePublicLink2-uploadToPublicLinkShare.feature +++ b/ocis/tests/acceptance/features/apiOcisSpecific/apiSharePublicLink2-uploadToPublicLinkShare.feature @@ -15,3 +15,19 @@ Feature: upload to a public link share When user "Alice" deletes file "/FOLDER" using the WebDAV API And the public uploads file "does-not-matter.txt" with content "does not matter" using the new public WebDAV API Then the HTTP status code should be "500" + + @issue-ocis-801 + # after fixing all issues delete this Scenario and use the one from oC10 core + Scenario Outline: Uploading file to a public upload-only share using old public API that was deleted does not work + Given using DAV path + And user "Alice" has created a public link share with settings + | path | FOLDER | + | permissions | create | + When user "Alice" deletes file "/FOLDER" using the WebDAV API + Then uploading a file should not work using the old public WebDAV API + And the HTTP status code should be "401" + + Examples: + | dav-path | + | old | + | new | \ No newline at end of file