@@ -12,15 +12,15 @@ Feature: dav-v2
1212 When User "user0" moves file "/textfile0.txt" to "/FOLDER/textfile0.txt"
1313 Then the HTTP status code should be "201"
1414
15- Scenario : Moving and overwriting it's parent
16- Given using new dav path
17- And As an "admin"
18- And user "user0" exists
19- And As an "user0"
20- And user "user0" created a folder "/test"
21- And user "user0" created a folder "/test/test"
22- When User "user0" moves file "/test/test" to "/test"
23- Then the HTTP status code should be "403"
15+ Scenario : Moving and overwriting it's parent
16+ Given using new dav path
17+ And As an "admin"
18+ And user "user0" exists
19+ And As an "user0"
20+ And user "user0" created a folder "/test"
21+ And user "user0" created a folder "/test/test"
22+ When User "user0" moves file "/test/test" to "/test"
23+ Then the HTTP status code should be "403"
2424
2525 Scenario : download a file with range using new endpoint
2626 Given using new dav path
@@ -103,32 +103,32 @@ Feature: dav-v2
103103 | shareType | 0 |
104104 | permissions | 31 |
105105 | shareWith | user0 |
106- And user "user0" accepts last share
106+ And user "user0" accepts last share
107107 And As an "user0"
108108 When User "user0" uploads file "data/textfile.txt" to "/testquota/asdf.txt"
109109 Then the HTTP status code should be "201"
110110
111111 Scenario : Create a search query on image
112112 Given using new dav path
113113 And As an "admin"
114- And user "user0" exists
115- And As an "user0"
116- When User "user0" uploads file "data/textfile.txt" to "/testquota/asdf.txt"
117- Then Image search should work
118- And the response should be empty
119- When User "user0" uploads file "data/green-square-256.png" to "/image.png"
114+ And user "user0" exists
115+ And As an "user0"
116+ When User "user0" uploads file "data/textfile.txt" to "/testquota/asdf.txt"
117+ Then Image search should work
118+ And the response should be empty
119+ When User "user0" uploads file "data/green-square-256.png" to "/image.png"
120120 Then Image search should work
121- And the single response should contain a property "{DAV:}getcontenttype" with value "image/png"
121+ And the single response should contain a property "{DAV:}getcontenttype" with value "image/png"
122122
123- Scenario : Create a search query on favorite
124- Given using new dav path
125- And As an "admin"
126- And user "user0" exists
127- And As an "user0"
128- When User "user0" uploads file "data/green-square-256.png" to "/fav_image.png"
129- Then Favorite search should work
130- And the response should be empty
131- When user "user0" favorites element "/fav_image.png"
132- Then Favorite search should work
133- And the single response should contain a property "{http://owncloud.org/ns}favorite" with value "1"
123+ Scenario : Create a search query on favorite
124+ Given using new dav path
125+ And As an "admin"
126+ And user "user0" exists
127+ And As an "user0"
128+ When User "user0" uploads file "data/green-square-256.png" to "/fav_image.png"
129+ Then Favorite search should work
130+ And the response should be empty
131+ When user "user0" favorites element "/fav_image.png"
132+ Then Favorite search should work
133+ And the single response should contain a property "{http://owncloud.org/ns}favorite" with value "1"
134134
0 commit comments