summaryrefslogtreecommitdiff
path: root/testrig/testmodels.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-04-29 15:05:13 +0200
committerLibravatar GitHub <noreply@github.com>2022-04-29 15:05:13 +0200
commit63f84da3e45d4e1cace427c6d30f19ba7e621618 (patch)
treec99679350b1b3ed64451f894fd485cc3dc9c8b0a /testrig/testmodels.go
parent[feature] allow absolute path to templates (#507) (diff)
downloadgotosocial-63f84da3e45d4e1cace427c6d30f19ba7e621618.tar.xz
[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
Diffstat (limited to 'testrig/testmodels.go')
-rw-r--r--testrig/testmodels.go20
1 files changed, 20 insertions, 0 deletions
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,
+ },
}
}