summaryrefslogtreecommitdiff
path: root/internal/timeline/index_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/timeline/index_test.go')
-rw-r--r--internal/timeline/index_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/timeline/index_test.go b/internal/timeline/index_test.go
index 76b161171..f62c0a9c6 100644
--- a/internal/timeline/index_test.go
+++ b/internal/timeline/index_test.go
@@ -24,7 +24,7 @@ import (
"github.com/stretchr/testify/suite"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
- "github.com/superseriousbusiness/gotosocial/internal/processing"
+ tlprocessor "github.com/superseriousbusiness/gotosocial/internal/processing/timeline"
"github.com/superseriousbusiness/gotosocial/internal/timeline"
"github.com/superseriousbusiness/gotosocial/internal/visibility"
"github.com/superseriousbusiness/gotosocial/testrig"
@@ -55,10 +55,10 @@ func (suite *IndexTestSuite) SetupTest() {
suite.timeline = timeline.NewTimeline(
context.Background(),
suite.testAccounts["local_account_1"].ID,
- processing.StatusGrabFunction(suite.db),
- processing.StatusFilterFunction(suite.db, suite.filter),
- processing.StatusPrepareFunction(suite.db, suite.tc),
- processing.StatusSkipInsertFunction(),
+ tlprocessor.HomeTimelineGrab(&suite.state),
+ tlprocessor.HomeTimelineFilter(&suite.state, suite.filter),
+ tlprocessor.HomeTimelineStatusPrepare(&suite.state, suite.tc),
+ tlprocessor.SkipInsert(),
)
}