summaryrefslogtreecommitdiff
path: root/testrig/testmodels.go
diff options
context:
space:
mode:
Diffstat (limited to 'testrig/testmodels.go')
-rw-r--r--testrig/testmodels.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/testrig/testmodels.go b/testrig/testmodels.go
index 203aaef96..9a9ea5d2f 100644
--- a/testrig/testmodels.go
+++ b/testrig/testmodels.go
@@ -66,6 +66,16 @@ func NewTestTokens() map[string]*gtsmodel.Token {
AccessCreateAt: time.Now(),
AccessExpiresAt: time.Now().Add(72 * time.Hour),
},
+ "admin_account": {
+ ID: "01FS4TP8ANA5VE92EAPA9E0M7Q",
+ ClientID: "01F8MGWSJCND9BWBD4WGJXBM93",
+ UserID: "01F8MGWYWKVKS3VS8DV1AMYPGE",
+ RedirectURI: "http://localhost:8080",
+ Scope: "read write follow push admin",
+ Access: "AININALKNENFNF98717NAMG4LWE4NJITMWUXM2M4MTRHZDEX",
+ AccessCreateAt: time.Now(),
+ AccessExpiresAt: time.Now().Add(72 * time.Hour),
+ },
}
return tokens
}