media handling

This commit is contained in:
tsmethurst 2021-04-09 17:21:53 +02:00
commit a30a1a267b
8 changed files with 431 additions and 1 deletions

View file

@ -440,6 +440,14 @@ func TestAccounts() map[string]*gtsmodel.Account {
return accounts
}
func TestAttachments() map[string]*gtsmodel.MediaAttachment {
return map[string]*gtsmodel.MediaAttachment{
"admin_account_status_1": {
},
}
}
func TestStatuses() map[string]*gtsmodel.Status {
return map[string]*gtsmodel.Status{
"admin_account_status_1": {