diff options
author | 2021-04-21 18:22:31 +0200 | |
---|---|---|
committer | 2021-04-21 18:22:31 +0200 | |
commit | 9616f46424363adbc124da52c6728ca047506403 (patch) | |
tree | ff42bcf78a846e694e9f5716fc2b9ce7055593e9 /testrig/testmodels.go | |
parent | linting + organizing (diff) | |
download | gotosocial-9616f46424363adbc124da52c6728ca047506403.tar.xz |
make boosts work woo (#12)
Diffstat (limited to 'testrig/testmodels.go')
-rw-r--r-- | testrig/testmodels.go | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testrig/testmodels.go b/testrig/testmodels.go index 0d95ef21d..2953ee59c 100644 --- a/testrig/testmodels.go +++ b/testrig/testmodels.go @@ -962,6 +962,30 @@ func NewTestStatuses() map[string]*gtsmodel.Status { }, ActivityStreamsType: gtsmodel.ActivityStreamsNote, }, + "local_account_2_status_4": { + ID: "57e41a35-20da-4bc9-9cfd-db2089f924db", + URI: "http://localhost:8080/users/1happyturtle/statuses/57e41a35-20da-4bc9-9cfd-db2089f924db", + URL: "http://localhost:8080/@1happyturtle/statuses/57e41a35-20da-4bc9-9cfd-db2089f924db", + Content: "🐢 this is a public status but I want it local only and not boostable 🐢", + CreatedAt: time.Now().Add(-1 * time.Minute), + UpdatedAt: time.Now().Add(-1 * time.Minute), + Local: true, + AccountID: "eecaad73-5703-426d-9312-276641daa31e", + InReplyToID: "", + BoostOfID: "", + ContentWarning: "", + Visibility: gtsmodel.VisibilityPublic, + Sensitive: true, + Language: "en", + CreatedWithApplicationID: "6b0cd164-8497-4cd5-bec9-957886fac5df", + VisibilityAdvanced: >smodel.VisibilityAdvanced{ + Federated: false, + Boostable: false, + Replyable: true, + Likeable: true, + }, + ActivityStreamsType: gtsmodel.ActivityStreamsNote, + }, } } |