[chore] Add a couple tests for updating list entries (#2580)

This commit is contained in:
tobi
2024-01-28 13:01:12 +01:00
committed by GitHub
parent 7e0a203173
commit 14b684b2b5
2 changed files with 128 additions and 0 deletions

View File

@ -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() {