The first public release of Fabled Minstrel #158

Merged
bvandeusen merged 256 commits from dev into main 2026-12-03 21:41:58 -05:00
Showing only changes of commit 6ed9db4f0c - Show all commits
+3 -1
View File
@@ -105,7 +105,9 @@ func TestLikeTrack_AnswersEveryCopyOfTheSong(t *testing.T) {
album := seedAlbum(t, pool, artist.ID, "Harbour Street", 1969)
best := seedAlbum(t, pool, artist.ID, "Best Of", 1975)
first := seedTrack(t, pool, album.ID, artist.ID, "Something", 3, 183_000)
copied := seedTrack(t, pool, best.ID, artist.ID, "Something", 1, 183_000)
// seedTrack files each title at its own path, so the compilation copy
// gets a title of its own; song_id is what makes it the same song.
copied := seedTrack(t, pool, best.ID, artist.ID, "Something (Best Of)", 1, 183_000)
if _, err := pool.Exec(context.Background(), "UPDATE tracks SET song_id = $1 WHERE id = $2", first.ID, copied.ID); err != nil {
t.Fatal(err)
}