diff options
Diffstat (limited to 'internal/api/client/admin/admin_test.go')
-rw-r--r-- | internal/api/client/admin/admin_test.go | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/internal/api/client/admin/admin_test.go b/internal/api/client/admin/admin_test.go index ce026a67b..9303ee3f2 100644 --- a/internal/api/client/admin/admin_test.go +++ b/internal/api/client/admin/admin_test.go @@ -53,14 +53,15 @@ type AdminStandardTestSuite struct { sentEmails map[string]string // standard suite models - testTokens map[string]*gtsmodel.Token - testClients map[string]*gtsmodel.Client - testApplications map[string]*gtsmodel.Application - testUsers map[string]*gtsmodel.User - testAccounts map[string]*gtsmodel.Account - testAttachments map[string]*gtsmodel.MediaAttachment - testStatuses map[string]*gtsmodel.Status - testEmojis map[string]*gtsmodel.Emoji + testTokens map[string]*gtsmodel.Token + testClients map[string]*gtsmodel.Client + testApplications map[string]*gtsmodel.Application + testUsers map[string]*gtsmodel.User + testAccounts map[string]*gtsmodel.Account + testAttachments map[string]*gtsmodel.MediaAttachment + testStatuses map[string]*gtsmodel.Status + testEmojis map[string]*gtsmodel.Emoji + testEmojiCategories map[string]*gtsmodel.EmojiCategory // module being tested adminModule *admin.Module @@ -75,6 +76,7 @@ func (suite *AdminStandardTestSuite) SetupSuite() { suite.testAttachments = testrig.NewTestAttachments() suite.testStatuses = testrig.NewTestStatuses() suite.testEmojis = testrig.NewTestEmojis() + suite.testEmojiCategories = testrig.NewTestEmojiCategories() } func (suite *AdminStandardTestSuite) SetupTest() { |