summaryrefslogtreecommitdiff
path: root/internal/typeutils/internaltofrontend_test.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-06-06 12:22:16 +0200
committerLibravatar GitHub <noreply@github.com>2024-06-06 11:22:16 +0100
commit6f26b32ec3ed57ed3b04cba357abb9ee5060f229 (patch)
tree9d44758d64f6d9530c1ed04c1dd1a204105f2419 /internal/typeutils/internaltofrontend_test.go
parent[bugfix] concurrent map writes in dereferencer media processing maps (#2964) (diff)
downloadgotosocial-6f26b32ec3ed57ed3b04cba357abb9ee5060f229.tar.xz
[bugfix] Don't nil emojis + fields on blocked accounts (#2968)
* [bugfix] Don't nil emojis + fields on blocked accounts * comment * swagger
Diffstat (limited to 'internal/typeutils/internaltofrontend_test.go')
-rw-r--r--internal/typeutils/internaltofrontend_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/typeutils/internaltofrontend_test.go b/internal/typeutils/internaltofrontend_test.go
index 676870c7b..946e38b30 100644
--- a/internal/typeutils/internaltofrontend_test.go
+++ b/internal/typeutils/internaltofrontend_test.go
@@ -420,8 +420,8 @@ func (suite *InternalToFrontendTestSuite) TestLocalInstanceAccountToFrontendBloc
"following_count": 0,
"statuses_count": 0,
"last_status_at": null,
- "emojis": null,
- "fields": null
+ "emojis": [],
+ "fields": []
}`, string(b))
}