diff --git a/internal/cache/timeline/status_test.go b/internal/cache/timeline/status_test.go index 99a2054ba..3e53d8256 100644 --- a/internal/cache/timeline/status_test.go +++ b/internal/cache/timeline/status_test.go @@ -205,6 +205,9 @@ func TestStatusTimelineInserts(t *testing.T) { maxID := maxStatusID(data) assert.Equal(t, maxID, maxStatus(&tt).ID) + // Manually mark timeline as 'preloaded'. + tt.preloader.CheckPreload(tt.preloader.Done) + // Specifically craft a boost of latest (i.e. max) status in timeline. boost := >smodel.Status{ID: "06B1A00PQWDZZH9WK9P5VND35C", BoostOfID: maxID}