This commit is contained in:
tsmethurst 2021-06-21 12:26:39 +02:00
parent 4f4e86425c
commit 97396c5efb
1 changed files with 2 additions and 0 deletions

View File

@ -1074,6 +1074,7 @@ func NewTestFaves() map[string]*gtsmodel.StatusFave {
}
}
// NewTestNotifications returns some notifications for use in testing.
func NewTestNotifications() map[string]*gtsmodel.Notification {
return map[string]*gtsmodel.Notification{
"local_account_1_like": {
@ -1088,6 +1089,7 @@ func NewTestNotifications() map[string]*gtsmodel.Notification {
}
}
// NewTestFollows returns some follows for use in testing.
func NewTestFollows() map[string]*gtsmodel.Follow {
return map[string]*gtsmodel.Follow{
"local_account_1_admin_account": {