diff options
author | 2024-07-12 20:36:03 +0200 | |
---|---|---|
committer | 2024-07-12 20:36:03 +0200 | |
commit | aeb65bceae97611b8931de2e954df18afedd812f (patch) | |
tree | 74e6f7ecb86c8affcfef99994cbf21d9133a2b56 /internal/typeutils/internaltofrontend_test.go | |
parent | [feature] support processing of (many) more media types (#3090) (diff) | |
download | gotosocial-aeb65bceae97611b8931de2e954df18afedd812f.tar.xz |
[feature/frontend] Better visual separation between "main" thread and "replies" (#3093)
* [feature/frontend] Better web threading model
* fix test
* bwap
* tweaks
* more tweaks to wording
* typo
* indenting
* adjust wording
* aaa
Diffstat (limited to 'internal/typeutils/internaltofrontend_test.go')
-rw-r--r-- | internal/typeutils/internaltofrontend_test.go | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/internal/typeutils/internaltofrontend_test.go b/internal/typeutils/internaltofrontend_test.go index 1195bc137..9ad5d2c08 100644 --- a/internal/typeutils/internaltofrontend_test.go +++ b/internal/typeutils/internaltofrontend_test.go @@ -883,9 +883,8 @@ func (suite *InternalToFrontendTestSuite) TestStatusToFrontendUnknownAttachments func (suite *InternalToFrontendTestSuite) TestStatusToWebStatus() { testStatus := suite.testStatuses["remote_account_2_status_1"] - requestingAccount := suite.testAccounts["admin_account"] - apiStatus, err := suite.typeconverter.StatusToWebStatus(context.Background(), testStatus, requestingAccount) + apiStatus, err := suite.typeconverter.StatusToWebStatus(context.Background(), testStatus) suite.NoError(err) // MediaAttachments should inherit @@ -1010,7 +1009,12 @@ func (suite *InternalToFrontendTestSuite) TestStatusToWebStatus() { "tags": [], "emojis": [], "card": null, - "poll": null + "poll": null, + "LanguageTag": "en", + "PollOptions": null, + "Local": false, + "Indent": 0, + "ThreadFirstReply": false }`, string(b)) } |