diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2018-06-28 19:32:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-28 19:32:24 +0200 |
commit | 9ad0e61df6ca1d4678e534275d5c9e4586459a7c (patch) | |
tree | e7f649844c1fa1b1e8fa05bd759e5d0e4327ccd4 | |
parent | dd880d1319fd0197621b2bbcef7972a090439e94 (diff) | |
parent | b506ec1c89e409561f9d22815d7647554754b962 (diff) | |
download | nextcloud-server-9ad0e61df6ca1d4678e534275d5c9e4586459a7c.tar.gz nextcloud-server-9ad0e61df6ca1d4678e534275d5c9e4586459a7c.zip |
Merge pull request #10040 from nextcloud/fix-filenames-in-sharing-integration-tests
Fix filenames in sharing integration tests
-rw-r--r-- | build/integration/features/sharing-v1-part2.feature | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/build/integration/features/sharing-v1-part2.feature b/build/integration/features/sharing-v1-part2.feature index 99cc5a8b98f..216b173cd10 100644 --- a/build/integration/features/sharing-v1-part2.feature +++ b/build/integration/features/sharing-v1-part2.feature @@ -69,7 +69,7 @@ Feature: sharing And group "group1" exists And user "user1" belongs to group "group1" And file "textfile0.txt" of user "user0" is shared with group "group1" - And User "user1" moved file "/textfile0.txt" to "/FOLDER/textfile0.txt" + And User "user1" moved file "/textfile0 (2).txt" to "/FOLDER/textfile0.txt" And As an "user0" When Updating last share with | permissions | 1 | @@ -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" @@ -240,7 +246,7 @@ Feature: sharing And User "user1" moved file "/textfile0.txt" to "/common/textfile0.txt" And User "user1" moved file "/common/textfile0.txt" to "/common/sub/textfile0.txt" And As an "user2" - When Downloading file "/textfile0.txt" with range "bytes=10-18" + When Downloading file "/textfile0 (2).txt" with range "bytes=10-18" Then Downloaded content should be "test text" And user "user2" should see following elements | /common/sub/textfile0.txt | @@ -252,7 +258,7 @@ Feature: sharing And group "group1" exists And user "user1" belongs to group "group1" And file "textfile0.txt" of user "user0" is shared with group "group1" - And User "user1" moved file "/textfile0.txt" to "/FOLDER/textfile0.txt" + And User "user1" moved file "/textfile0 (2).txt" to "/FOLDER/textfile0.txt" And As an "user0" And Deleting last share And As an "user1" |