summaryrefslogtreecommitdiff
path: root/internal/api/client/accounts/profile_test.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-07-20 15:02:22 +0200
committerLibravatar GitHub <noreply@github.com>2024-07-20 14:02:22 +0100
commitad700c5029688ffabae568c23bedd7bb333f7f33 (patch)
tree189e5657eb53722df004cd94727b0518bd9b4ef2 /internal/api/client/accounts/profile_test.go
parent[feature] use webp for thumbnails (#3116) (diff)
downloadgotosocial-ad700c5029688ffabae568c23bedd7bb333f7f33.tar.xz
[chore/frontend] Use smaller webp images for logo and default avatars (#3119)
Diffstat (limited to 'internal/api/client/accounts/profile_test.go')
-rw-r--r--internal/api/client/accounts/profile_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/api/client/accounts/profile_test.go b/internal/api/client/accounts/profile_test.go
index 62a622b37..f6d97c014 100644
--- a/internal/api/client/accounts/profile_test.go
+++ b/internal/api/client/accounts/profile_test.go
@@ -119,7 +119,7 @@ func (suite *AccountProfileTestSuite) TestDeleteHeader() {
http.StatusOK,
)
if suite.NoError(err) {
- suite.Equal("http://localhost:8080/assets/default_header.png", account.Header)
+ suite.Equal("http://localhost:8080/assets/default_header.webp", account.Header)
}
}
@@ -132,7 +132,7 @@ func (suite *AccountProfileTestSuite) TestDeleteNonexistentHeader() {
http.StatusOK,
)
if suite.NoError(err) {
- suite.Equal("http://localhost:8080/assets/default_header.png", account.Header)
+ suite.Equal("http://localhost:8080/assets/default_header.webp", account.Header)
}
}