[feature] Add /api/v1/admin/custom_emojis/{id} endpoint for single emoji GET (#910)

* fix error in prev swagger docs

* add GET for single admin emoji
This commit is contained in:
tobi
2022-10-13 16:37:55 +02:00
committed by GitHub
parent 70d65b683f
commit 6a95f5fa67
10 changed files with 455 additions and 172 deletions

View File

@ -60,6 +60,7 @@ type AdminStandardTestSuite struct {
testAccounts map[string]*gtsmodel.Account
testAttachments map[string]*gtsmodel.MediaAttachment
testStatuses map[string]*gtsmodel.Status
testEmojis map[string]*gtsmodel.Emoji
// module being tested
adminModule *admin.Module
@ -73,6 +74,7 @@ func (suite *AdminStandardTestSuite) SetupSuite() {
suite.testAccounts = testrig.NewTestAccounts()
suite.testAttachments = testrig.NewTestAttachments()
suite.testStatuses = testrig.NewTestStatuses()
suite.testEmojis = testrig.NewTestEmojis()
}
func (suite *AdminStandardTestSuite) SetupTest() {