Skip to content

Commit e148c64

Browse files
committed
Fix tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
1 parent 52badb8 commit e148c64

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

build/integration/features/avatar.feature

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ Feature: avatar
6262
And user "anonymous" gets avatar for user "user0"
6363
And The following headers should be set
6464
| Content-Type | image/png |
65-
| X-NC-IsCustomAvatar | 1 |
65+
| X-NC-IsCustomAvatar | 0 |
6666
And last avatar is a square of size 512
67-
And last avatar is a single "#FF0000" color
67+
And last avatar is not a single color
6868

6969
Scenario: set user avatar from internal path
7070
Given user "user0" uploads file "data/coloured-pattern.png" to "/internal-coloured-pattern.png"
@@ -85,9 +85,9 @@ Feature: avatar
8585
And user "anonymous" gets avatar for user "user0" with size "64"
8686
And The following headers should be set
8787
| Content-Type | image/png |
88-
| X-NC-IsCustomAvatar | 1 |
88+
| X-NC-IsCustomAvatar | 0 |
8989
And last avatar is a square of size 64
90-
And last avatar is a single "#00FF00" color
90+
And last avatar is not a single color
9191

9292
Scenario: cropped user avatar needs to be squared
9393
Given Logging in using web as "user0"
@@ -117,9 +117,9 @@ Feature: avatar
117117
And user "anonymous" gets avatar for user "user0"
118118
And The following headers should be set
119119
| Content-Type | image/png |
120-
| X-NC-IsCustomAvatar | 1 |
120+
| X-NC-IsCustomAvatar | 0 |
121121
And last avatar is a square of size 512
122-
And last avatar is a single "#FF0000" color
122+
And last avatar is not a single color
123123
When logged in user deletes the user avatar
124124
Then user "user0" gets avatar for user "user0"
125125
And The following headers should be set

0 commit comments

Comments
 (0)