fix test broken due to addition of preloader

This commit is contained in:
kim 2025-04-09 15:55:24 +01:00
commit c8de7f2760

View file

@ -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 := &gtsmodel.Status{ID: "06B1A00PQWDZZH9WK9P5VND35C", BoostOfID: maxID}