diff --git a/internal/wanted/library_test.go b/internal/wanted/library_test.go index 029252ab..7f1a6187 100644 --- a/internal/wanted/library_test.go +++ b/internal/wanted/library_test.go @@ -299,7 +299,10 @@ func TestListLibrary_RetriesAnOlderMatchersRefusals_Integration(t *testing.T) { if _, err := pool.Exec(ctx, `UPDATE library_album_matches SET matcher = $1 WHERE album_id = $2`, libraryMatcher, bootleg.ID); err != nil { t.Fatal(err) } - // The reset leaves the listing done. + // A listing done, with these albums from before its cutoff. + if _, err := pool.Exec(ctx, `UPDATE acquisition_settings SET library_listing_started_at = now(), library_listed_at = now()`); err != nil { + t.Fatal(err) + } if err := s.listLibrary(ctx, &PassResult{}); err != nil { t.Fatal(err) }