From 63f84da3e45d4e1cace427c6d30f19ba7e621618 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Fri, 29 Apr 2022 15:05:13 +0200 Subject: [chore] Inboxes for iri test (#508) * tidy up some federation tests * add missing license to following.go * give zork some followers, as a treat * test InboxesForIRI * Go fmt * update timeline tests --- testrig/testmodels.go | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'testrig') diff --git a/testrig/testmodels.go b/testrig/testmodels.go index 5b06245a9..9bb387041 100644 --- a/testrig/testmodels.go +++ b/testrig/testmodels.go @@ -1435,6 +1435,26 @@ func NewTestFollows() map[string]*gtsmodel.Follow { URI: "http://localhost:8080/users/the_mighty_zork/follow/01F8PYDCE8XE23GRE5DPZJDZDP", Notify: false, }, + "local_account_2_local_account_1": { + ID: "01G1TK1RS4K3E0MSFTXBFWAH9Q", + CreatedAt: time.Now().Add(-1 * time.Hour), + UpdatedAt: time.Now().Add(-1 * time.Hour), + AccountID: "01F8MH5NBDF2MV7CTC4Q5128HF", + TargetAccountID: "01F8MH1H7YV1Z7D2C8K2730QBF", + ShowReblogs: true, + URI: "http://localhost:8080/users/1happyturtle/follow/01F8PYDCE8XE23GRE5DPZJDZDP", + Notify: false, + }, + "admin_account_local_account_1": { + ID: "01G1TK3PQKFW1BQZ9WVYRTFECK", + CreatedAt: time.Now().Add(-46 * time.Hour), + UpdatedAt: time.Now().Add(-46 * time.Hour), + AccountID: "01F8MH17FWEB39HZJ76B6VXSKF", + TargetAccountID: "01F8MH1H7YV1Z7D2C8K2730QBF", + ShowReblogs: true, + URI: "http://localhost:8080/users/admin/follow/01G1TK3PQKFW1BQZ9WVYRTFECK", + Notify: false, + }, } } -- cgit v1.3