From 6f389ee2f55cfa90533987c698cbb3aa10a2ff1b Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 27 Mar 2026 11:24:15 +0100 Subject: [PATCH 1/2] test(rename): Add a test to rename a blocked share Signed-off-by: Joas Schilling --- tests/Integration/features/sharing-user.feature | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Integration/features/sharing-user.feature b/tests/Integration/features/sharing-user.feature index e30a9167..7164edc0 100644 --- a/tests/Integration/features/sharing-user.feature +++ b/tests/Integration/features/sharing-user.feature @@ -204,3 +204,4 @@ Feature: Sharing user Then The webdav response should have a status code "404" When Downloading last public shared file with range "1-4" Then The webdav response should have a status code "404" + When User "test2" moved file "/foobar.txt" to "/foobar-moved.txt" From 2717706d4fd05c997c15d290dd98398ce60e9cf2 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 27 Mar 2026 11:24:33 +0100 Subject: [PATCH 2/2] fix(rename): Adjust expectation of permission with server change Signed-off-by: Joas Schilling --- tests/Integration/features/sharing-user.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Integration/features/sharing-user.feature b/tests/Integration/features/sharing-user.feature index 7164edc0..c448d1ed 100644 --- a/tests/Integration/features/sharing-user.feature +++ b/tests/Integration/features/sharing-user.feature @@ -197,7 +197,7 @@ Feature: Sharing user | operation | deny | | checks-0 | {"class":"OCA\\\\WorkflowEngine\\\\Check\\\\FileMimeType", "operator": "is", "value": "text/plain"} | And as user "test2" - When File "/foobar.txt" should have prop "oc:permissions" equal to "SRD" + When File "/foobar.txt" should have prop "oc:permissions" equal to "SRDN" When Downloading file "/foobar.txt" Then The webdav response should have a status code "404" When Downloading file "/foobar.txt" with range "1-4"