From b506ec1c89e409561f9d22815d7647554754b962 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= <danxuliu@gmail.com>
Date: Thu, 28 Jun 2018 16:45:42 +0200
Subject: [PATCH] Check all paths for own files and shares
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Add "PARENT (2)" and its subdirectories to the paths to be checked, as
before only the own "PARENT" folder was being checked, but not the
shared one.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
---
 build/integration/features/sharing-v1-part2.feature | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/build/integration/features/sharing-v1-part2.feature b/build/integration/features/sharing-v1-part2.feature
index 2bf1d3fb404..216b173cd10 100644
--- a/build/integration/features/sharing-v1-part2.feature
+++ b/build/integration/features/sharing-v1-part2.feature
@@ -199,8 +199,14 @@ Feature: sharing
     Then user "user1" should see following elements
       | /FOLDER/ |
       | /PARENT/ |
-      | /CHILD/ |
+      | /PARENT/CHILD/ |
       | /PARENT/parent.txt |
+      | /PARENT/CHILD/child.txt |
+      | /PARENT%20(2)/ |
+      | /PARENT%20(2)/CHILD/ |
+      | /PARENT%20(2)/parent.txt |
+      | /PARENT%20(2)/CHILD/child.txt |
+      | /CHILD/ |
       | /CHILD/child.txt |
     And the HTTP status code should be "200"
 
-- 
GitLab