summaryrefslogtreecommitdiff
path: root/testrig/testmodels.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-07-05 16:44:58 +0200
committerLibravatar GitHub <noreply@github.com>2022-07-05 16:44:58 +0200
commit81dd4f3660ca41a8d51a5563cc13227544191cb4 (patch)
treeb190827ed3738488e3040c97465c2ccd20086223 /testrig/testmodels.go
parent[bugfix] Fix incorrect domain showing in profiles (#693) (diff)
downloadgotosocial-81dd4f3660ca41a8d51a5563cc13227544191cb4.tar.xz
[bugfix] Fix footer info fields not wrapping (#694)
* flex-wrap footer items * add testrig instance entry with more info set
Diffstat (limited to 'testrig/testmodels.go')
-rw-r--r--testrig/testmodels.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/testrig/testmodels.go b/testrig/testmodels.go
index bca894266..3a231bfeb 100644
--- a/testrig/testmodels.go
+++ b/testrig/testmodels.go
@@ -938,6 +938,19 @@ func NewTestEmojis() map[string]*gtsmodel.Emoji {
func NewTestInstances() map[string]*gtsmodel.Instance {
return map[string]*gtsmodel.Instance{
+ "localhost:8080": {
+ ID: "01G774F5TSHJ2ZSF7XRC5EMT6K",
+ CreatedAt: TimeMustParse("2020-01-20T13:12:00+02:00"),
+ UpdatedAt: TimeMustParse("2020-01-20T13:12:00+02:00"),
+ Domain: "localhost:8080",
+ URI: "http://localhost:8080",
+ Title: "GoToSocial Testrig Instance",
+ ShortDescription: "<p>This is the GoToSocial testrig. It doesn't federate or anything.</p><p>When the testrig is shut down, all data on it will be deleted.</p><p>Don't use this in production!</p>",
+ Description: "<p>This is the GoToSocial testrig. It doesn't federate or anything.</p><p>When the testrig is shut down, all data on it will be deleted.</p><p>Don't use this in production!</p>",
+ ContactEmail: "admin@example.org",
+ ContactAccountUsername: "admin",
+ ContactAccountID: "01F8MH17FWEB39HZJ76B6VXSKF",
+ },
"fossbros-anonymous.io": {
ID: "01G5H6YMJQKR86QZKXXQ2S95FZ",
CreatedAt: TimeMustParse("2021-09-20T12:40:37+02:00"),