Skip to content

Commit f53cf46

Browse files
committed
chore(test): use consistent tabs for indention in behat tests
Signed-off-by: Ferdinand Thiessen <[email protected]>
1 parent f85154f commit f53cf46

File tree

2 files changed

+38
-38
lines changed

2 files changed

+38
-38
lines changed

build/integration/dav_features/dav-v2.feature

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -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

build/integration/dav_features/webdav-related.feature

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ Feature: webdav-related
3838
Then the HTTP status code should be "204"
3939
And Downloaded content when downloading file "/textfile0.txt" with range "bytes=0-6" should be "Welcome"
4040

41-
Scenario: Moving and overwriting it's parent
42-
Given using old dav path
43-
And As an "admin"
44-
And user "user0" exists
45-
And As an "user0"
46-
And user "user0" created a folder "/test"
47-
And user "user0" created a folder "/test/test"
48-
When User "user0" moves file "/test/test" to "/test"
49-
Then the HTTP status code should be "403"
41+
Scenario: Moving and overwriting it's parent
42+
Given using old dav path
43+
And As an "admin"
44+
And user "user0" exists
45+
And As an "user0"
46+
And user "user0" created a folder "/test"
47+
And user "user0" created a folder "/test/test"
48+
When User "user0" moves file "/test/test" to "/test"
49+
Then the HTTP status code should be "403"
5050

5151
Scenario: Moving a file from shared folder to root folder
5252
Given using old dav path
@@ -706,7 +706,7 @@ Feature: webdav-related
706706
And user "user0" uploads new chunk v2 file "2" to id "chunking-random"
707707
And user "user0" uploads new chunk v2 file "4" to id "chunking-random"
708708
And user "user0" moves new chunk v2 file with id "chunking-random"
709-
Then the upload should fail on object storage
709+
Then the upload should fail on object storage
710710

711711
@s3-multipart
712712
Scenario: Upload chunked file with special characters with new chunking v2

0 commit comments

Comments
 (0)