summaryrefslogtreecommitdiff
path: root/internal/typeutils/converter_test.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-11-27 14:14:28 +0100
committerLibravatar GitHub <noreply@github.com>2023-11-27 13:14:28 +0000
commite4e0a5e3f66f38e17a8abdafbeac251c75323b0e (patch)
tree6dc6211acd78df9fa3b933f19ab3275c187a5106 /internal/typeutils/converter_test.go
parent[chore]: Bump golang.org/x/net from 0.17.0 to 0.18.0 (#2390) (diff)
downloadgotosocial-e4e0a5e3f66f38e17a8abdafbeac251c75323b0e.tar.xz
[bugfix] Add Actor to outgoing poll vote Create; other fixes (#2384)
Diffstat (limited to 'internal/typeutils/converter_test.go')
-rw-r--r--internal/typeutils/converter_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/typeutils/converter_test.go b/internal/typeutils/converter_test.go
index 0195a6889..8a0dcd0fd 100644
--- a/internal/typeutils/converter_test.go
+++ b/internal/typeutils/converter_test.go
@@ -480,6 +480,7 @@ type TypeUtilsTestSuite struct {
testEmojis map[string]*gtsmodel.Emoji
testReports map[string]*gtsmodel.Report
testMentions map[string]*gtsmodel.Mention
+ testPollVotes map[string]*gtsmodel.PollVote
typeconverter *typeutils.Converter
}
@@ -502,6 +503,7 @@ func (suite *TypeUtilsTestSuite) SetupTest() {
suite.testEmojis = testrig.NewTestEmojis()
suite.testReports = testrig.NewTestReports()
suite.testMentions = testrig.NewTestMentions()
+ suite.testPollVotes = testrig.NewTestPollVotes()
suite.typeconverter = typeutils.NewConverter(&suite.state)
testrig.StandardDBSetup(suite.db, nil)