diff options
author | 2023-10-21 17:23:05 +0200 | |
---|---|---|
committer | 2023-10-21 17:23:05 +0200 | |
commit | 9114c5ca1bff8ebbe3d2d20d873f8f5b7a78be43 (patch) | |
tree | e1afdb23900f6141c5befbb5b21905a240c60482 /testrig/testmodels.go | |
parent | [docs] Update README.md (#2279) (diff) | |
download | gotosocial-9114c5ca1bff8ebbe3d2d20d873f8f5b7a78be43.tar.xz |
[bugfix/frontend] fix typo and other oddness in patchRemoteEmojis (#2281)v0.12.0
* fix emoji test model
* found the bug!
* remove unused 'current' import
* comment useChecklistReducer
* wah
* lint
* fix cleaner tests
Diffstat (limited to 'testrig/testmodels.go')
-rw-r--r-- | testrig/testmodels.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testrig/testmodels.go b/testrig/testmodels.go index fa6ff92ff..5279ec725 100644 --- a/testrig/testmodels.go +++ b/testrig/testmodels.go @@ -1129,7 +1129,7 @@ func NewTestEmojis() map[string]*gtsmodel.Emoji { ImageRemoteURL: "", ImageStaticRemoteURL: "", ImageURL: "http://localhost:8080/fileserver/01AY6P665V14JJR0AFVRT7311Y/emoji/original/01F8MH9H8E4VG3KDYJR9EGPXCQ.png", - ImagePath: "/01AY6P665V14JJR0AFVRT7311Y/emoji/original/01F8MH9H8E4VG3KDYJR9EGPXCQ.png", + ImagePath: "01AY6P665V14JJR0AFVRT7311Y/emoji/original/01F8MH9H8E4VG3KDYJR9EGPXCQ.png", ImageStaticURL: "http://localhost:8080/fileserver/01AY6P665V14JJR0AFVRT7311Y/emoji/static/01F8MH9H8E4VG3KDYJR9EGPXCQ.png", ImageStaticPath: "01AY6P665V14JJR0AFVRT7311Y/emoji/static/01F8MH9H8E4VG3KDYJR9EGPXCQ.png", ImageContentType: "image/png", @@ -1141,7 +1141,7 @@ func NewTestEmojis() map[string]*gtsmodel.Emoji { URI: "http://localhost:8080/emoji/01F8MH9H8E4VG3KDYJR9EGPXCQ", VisibleInPicker: util.Ptr(true), CategoryID: "01GGQ8V4993XK67B2JB396YFB7", - Cached: util.Ptr(false), + Cached: util.Ptr(true), }, "yell": { ID: "01GD5KP5CQEE1R3X43Y1EHS2CW", |