mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 02:42:24 -05:00
[chore] Add a couple tests for updating list entries (#2580)
This commit is contained in:
parent
7e0a203173
commit
14b684b2b5
2 changed files with 128 additions and 0 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue