mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 22:12:26 -05:00
[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:
parent
70d65b683f
commit
6a95f5fa67
10 changed files with 455 additions and 172 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue