summaryrefslogtreecommitdiff
path: root/internal/api/client/reports/reports_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/reports/reports_test.go')
-rw-r--r--internal/api/client/reports/reports_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/api/client/reports/reports_test.go b/internal/api/client/reports/reports_test.go
index cf5167816..c1986cf1f 100644
--- a/internal/api/client/reports/reports_test.go
+++ b/internal/api/client/reports/reports_test.go
@@ -28,6 +28,7 @@ import (
"github.com/superseriousbusiness/gotosocial/internal/processing"
"github.com/superseriousbusiness/gotosocial/internal/state"
"github.com/superseriousbusiness/gotosocial/internal/storage"
+ "github.com/superseriousbusiness/gotosocial/internal/typeutils"
"github.com/superseriousbusiness/gotosocial/internal/visibility"
"github.com/superseriousbusiness/gotosocial/testrig"
)
@@ -81,7 +82,7 @@ func (suite *ReportsStandardTestSuite) SetupTest() {
testrig.StartTimelines(
&suite.state,
visibility.NewFilter(&suite.state),
- testrig.NewTestTypeConverter(suite.db),
+ typeutils.NewConverter(&suite.state),
)
suite.mediaManager = testrig.NewTestMediaManager(&suite.state)