mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[chore] Add a couple tests for updating list entries (#2580)
This commit is contained in:
@ -55,6 +55,7 @@ type ListsStandardTestSuite struct {
|
||||
testEmojis map[string]*gtsmodel.Emoji
|
||||
testEmojiCategories map[string]*gtsmodel.EmojiCategory
|
||||
testLists map[string]*gtsmodel.List
|
||||
testListEntries map[string]*gtsmodel.ListEntry
|
||||
|
||||
// module being tested
|
||||
listsModule *lists.Module
|
||||
@ -71,6 +72,7 @@ func (suite *ListsStandardTestSuite) SetupSuite() {
|
||||
suite.testEmojis = testrig.NewTestEmojis()
|
||||
suite.testEmojiCategories = testrig.NewTestEmojiCategories()
|
||||
suite.testLists = testrig.NewTestLists()
|
||||
suite.testListEntries = testrig.NewTestListEntries()
|
||||
}
|
||||
|
||||
func (suite *ListsStandardTestSuite) SetupTest() {
|
||||
|
Reference in New Issue
Block a user