summaryrefslogtreecommitdiff
path: root/internal/typeutils/internaltofrontend_test.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-07-23 23:06:20 +0200
committerLibravatar GitHub <noreply@github.com>2024-07-23 23:06:20 +0200
commit6533531cf1c8e2e8f3e5a2ba232564b0af3f2fe5 (patch)
tree2ca35a26742100adc0374d98baa767322f934f63 /internal/typeutils/internaltofrontend_test.go
parentRemove content and related fields from boosts (#3131) (diff)
downloadgotosocial-6533531cf1c8e2e8f3e5a2ba232564b0af3f2fe5.tar.xz
[chore] Add some log lines to recent migrations warning not to interrupt (#3134)
* [chore] Add some log lines to recent migrations warning not to interrupt * arse
Diffstat (limited to 'internal/typeutils/internaltofrontend_test.go')
-rw-r--r--internal/typeutils/internaltofrontend_test.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/internal/typeutils/internaltofrontend_test.go b/internal/typeutils/internaltofrontend_test.go
index fda4bc005..579b7a067 100644
--- a/internal/typeutils/internaltofrontend_test.go
+++ b/internal/typeutils/internaltofrontend_test.go
@@ -780,10 +780,10 @@ func (suite *InternalToFrontendTestSuite) TestWarnFilteredBoostToFrontend() {
"created_at": "2021-10-20T10:41:37.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
- "sensitive": true,
- "spoiler_text": "introduction post",
+ "sensitive": false,
+ "spoiler_text": "",
"visibility": "public",
- "language": "en",
+ "language": null,
"uri": "http://localhost:8080/users/admin/statuses/01G36SF3V6Y6V5BF9P4R7PQG7G",
"url": "http://localhost:8080/@admin/statuses/01G36SF3V6Y6V5BF9P4R7PQG7G",
"replies_count": 0,
@@ -794,7 +794,7 @@ func (suite *InternalToFrontendTestSuite) TestWarnFilteredBoostToFrontend() {
"muted": false,
"bookmarked": true,
"pinned": false,
- "content": "hello everyone!",
+ "content": "",
"reblog": {
"id": "01F8MH75CBF9JFX4ZAD54N0W0R",
"created_at": "2021-10-20T11:36:45.000Z",
@@ -981,7 +981,6 @@ func (suite *InternalToFrontendTestSuite) TestWarnFilteredBoostToFrontend() {
"emojis": [],
"card": null,
"poll": null,
- "text": "hello everyone!",
"filtered": [
{
"filter": {