summaryrefslogtreecommitdiff
path: root/testrig/testmodels.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-05-16 18:48:59 +0200
committerLibravatar GitHub <noreply@github.com>2022-05-16 18:48:59 +0200
commit5ef41ba3f21f4c2105f668fc35b6284749e17775 (patch)
treebd77afe69fab45d411bc6604f35737dcb941acda /testrig/testmodels.go
parenttestrig: override bind address from environment variable (#577) (diff)
downloadgotosocial-5ef41ba3f21f4c2105f668fc35b6284749e17775.tar.xz
[chore] Timeline test updates (#578)
* add admin boost of zork to test model * update tests to make them more determinate * remove printf call
Diffstat (limited to 'testrig/testmodels.go')
-rw-r--r--testrig/testmodels.go26
1 files changed, 26 insertions, 0 deletions
diff --git a/testrig/testmodels.go b/testrig/testmodels.go
index 08b0e13dc..ef1c832d5 100644
--- a/testrig/testmodels.go
+++ b/testrig/testmodels.go
@@ -1049,6 +1049,32 @@ func NewTestStatuses() map[string]*gtsmodel.Status {
Likeable: true,
ActivityStreamsType: ap.ObjectNote,
},
+ "admin_account_status_4": {
+ ID: "01G36SF3V6Y6V5BF9P4R7PQG7G",
+ URI: "http://localhost:8080/users/admin/statuses/01G36SF3V6Y6V5BF9P4R7PQG7G",
+ URL: "http://localhost:8080/@admin/statuses/01G36SF3V6Y6V5BF9P4R7PQG7G",
+ Content: "hello everyone!",
+ CreatedAt: TimeMustParse("2021-10-20T12:41:37+02:00"),
+ UpdatedAt: TimeMustParse("2021-10-20T12:41:37+02:00"),
+ Local: true,
+ AccountURI: "http://localhost:8080/users/admin",
+ AccountID: "01F8MH17FWEB39HZJ76B6VXSKF",
+ InReplyToID: "",
+ InReplyToAccountID: "",
+ InReplyToURI: "",
+ BoostOfID: "01F8MHAMCHF6Y650WCRSCP4WMY",
+ BoostOfAccountID: "01F8MH1H7YV1Z7D2C8K2730QBF",
+ ContentWarning: "introduction post",
+ Visibility: gtsmodel.VisibilityPublic,
+ Sensitive: true,
+ Language: "en",
+ CreatedWithApplicationID: "01F8MGXQRHYF5QPMTMXP78QC2F",
+ Federated: true,
+ Boostable: true,
+ Replyable: true,
+ Likeable: true,
+ ActivityStreamsType: ap.ObjectNote,
+ },
"local_account_1_status_1": {
ID: "01F8MHAMCHF6Y650WCRSCP4WMY",
URI: "http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY",