summaryrefslogtreecommitdiff
path: root/testrig/testmodels.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-08-29 17:43:14 +0200
committerLibravatar GitHub <noreply@github.com>2024-08-29 17:43:14 +0200
commite10aa76612bf20ca2a5aa8e7ee5e4d1aae0ba69f (patch)
tree593d7d2a166db86dc051f881688694e2c220e1fe /testrig/testmodels.go
parent[chore] Update robots.txt with more AI scrapers (#3248) (diff)
downloadgotosocial-e10aa76612bf20ca2a5aa8e7ee5e4d1aae0ba69f.tar.xz
[chore] Only call `imaging.Resize when necessary`, use even tinier blurhashes (#3247)
* [chore] Use `imaging.Fit`, use even tinier blurhashes * avoid calling resize if not necessary * update blurhashes + thumb
Diffstat (limited to 'testrig/testmodels.go')
-rw-r--r--testrig/testmodels.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/testrig/testmodels.go b/testrig/testmodels.go
index 943fb7396..26cc47f7d 100644
--- a/testrig/testmodels.go
+++ b/testrig/testmodels.go
@@ -1078,7 +1078,7 @@ func NewTestAttachments() map[string]*gtsmodel.MediaAttachment {
Thumbnail: gtsmodel.Thumbnail{
Path: "01F8MH5ZK5VRH73AKHQM6Y9VNX/attachment/small/01FVW7RXPQ8YJHTEXYPE7Q8ZY0.jpeg",
ContentType: "image/jpeg",
- FileSize: 20394,
+ FileSize: 20395,
URL: "http://localhost:8080/fileserver/01F8MH5ZK5VRH73AKHQM6Y9VNX/attachment/small/01FVW7RXPQ8YJHTEXYPE7Q8ZY0.webp",
},
Avatar: util.Ptr(false),
@@ -1124,7 +1124,7 @@ func NewTestAttachments() map[string]*gtsmodel.MediaAttachment {
Thumbnail: gtsmodel.Thumbnail{
Path: "062G5WYKY35KKD12EMSM3F8PJ8/attachment/small/01PFPMWK2FF0D9WMHEJHR07C3R.jpeg",
ContentType: "image/webp",
- FileSize: 20394,
+ FileSize: 20395,
URL: "http://localhost:8080/fileserver/062G5WYKY35KKD12EMSM3F8PJ8/header/small/01PFPMWK2FF0D9WMHEJHR07C3R.webp",
},
Avatar: util.Ptr(false),