summaryrefslogtreecommitdiff
path: root/testrig/testmodels.go
diff options
context:
space:
mode:
Diffstat (limited to 'testrig/testmodels.go')
-rw-r--r--testrig/testmodels.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/testrig/testmodels.go b/testrig/testmodels.go
index f53022fd8..054f14323 100644
--- a/testrig/testmodels.go
+++ b/testrig/testmodels.go
@@ -977,6 +977,15 @@ func NewTestEmojis() map[string]*gtsmodel.Emoji {
}
}
+func NewTestStatusToEmojis() map[string]*gtsmodel.StatusToEmoji {
+ return map[string]*gtsmodel.StatusToEmoji{
+ "admin_account_status_1_rainbow": {
+ StatusID: "01F8MH75CBF9JFX4ZAD54N0W0R",
+ EmojiID: "01F8MH9H8E4VG3KDYJR9EGPXCQ",
+ },
+ }
+}
+
func NewTestInstances() map[string]*gtsmodel.Instance {
return map[string]*gtsmodel.Instance{
"localhost:8080": {
@@ -1540,6 +1549,15 @@ func NewTestTags() map[string]*gtsmodel.Tag {
}
}
+func NewTestStatusToTags() map[string]*gtsmodel.StatusToTag {
+ return map[string]*gtsmodel.StatusToTag{
+ "admin_account_status_1_welcome": {
+ StatusID: "01F8MH75CBF9JFX4ZAD54N0W0R",
+ TagID: "01F8MHA1A2NF9MJ3WCCQ3K8BSZ",
+ },
+ }
+}
+
// NewTestMentions returns a map of gts model mentions keyed by their name.
func NewTestMentions() map[string]*gtsmodel.Mention {
return map[string]*gtsmodel.Mention{