diff options
author | 2022-01-11 17:49:14 +0100 | |
---|---|---|
committer | 2022-01-11 17:49:14 +0100 | |
commit | 113f9d9ab4797de6ae17819c96ae866992214021 (patch) | |
tree | c4e165e66e66db7b9e20d34ccb45f7bda096b532 /testrig/testmodels.go | |
parent | test the media manager a bit, add shutdown logic (diff) | |
download | gotosocial-113f9d9ab4797de6ae17819c96ae866992214021.tar.xz |
pass a function into the manager, start work on emoji
Diffstat (limited to 'testrig/testmodels.go')
-rw-r--r-- | testrig/testmodels.go | 10 |
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 } |