From 0d0b04bff0ec8d68e06560274cda71068965bc4d Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Fri, 23 Oct 2026 14:05:45 -0400 Subject: [PATCH] test(subsonic): album-list fixture users carry distinct api token hashes (#6293) users.api_token_hash is unique, so the second seeded user needs its own. Co-Authored-By: Claude Opus 5.5 --- internal/subsonic/albumlist_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/subsonic/albumlist_test.go b/internal/subsonic/albumlist_test.go index 4df7f0b7..da498be3 100644 --- a/internal/subsonic/albumlist_test.go +++ b/internal/subsonic/albumlist_test.go @@ -63,7 +63,7 @@ func seedPlayHistory(t *testing.T) playHistoryFixture { t.Fatalf("create user: %v", err) } other, err := q.CreateUser(ctx, dbq.CreateUserParams{ - Username: dbtest.TestUserPrefix + "other", PasswordHash: "x", ApiTokenHash: "x", + Username: dbtest.TestUserPrefix + "other", PasswordHash: "x", ApiTokenHash: "y", }) if err != nil { t.Fatalf("create other user: %v", err)