diff --git a/internal/lidarrquarantine/service_test.go b/internal/lidarrquarantine/service_test.go index 9f14ae37..8129b01a 100644 --- a/internal/lidarrquarantine/service_test.go +++ b/internal/lidarrquarantine/service_test.go @@ -366,7 +366,7 @@ func TestDeleteViaLidarr_FullCascade(t *testing.T) { t.Fatalf("save config: %v", err) } clientFn := func() *lidarr.Client { return lidarr.NewClient(stub.URL, "k") } - svc := NewService(pool, cfg, clientFn) + svc := NewService(pool, cfg, clientFn, "") q := dbq.New(pool) artist, _ := q.UpsertArtist(context.Background(), dbq.UpsertArtistParams{Name: "A", SortName: "A"}) @@ -456,7 +456,7 @@ func TestDeleteViaLidarr_AlbumMBIDMissing(t *testing.T) { cfg := lidarrconfig.New(pool) _ = cfg.Save(context.Background(), lidarrconfig.Config{Enabled: true, BaseURL: stub.URL, APIKey: "k"}) clientFn := func() *lidarr.Client { return lidarr.NewClient(stub.URL, "k") } - svc := NewService(pool, cfg, clientFn) + svc := NewService(pool, cfg, clientFn, "") _, _ = svc.Flag(context.Background(), user.ID, track.ID, "bad_rip", "") _, _, err := svc.DeleteViaLidarr(context.Background(), track.ID, user.ID) @@ -481,7 +481,7 @@ func TestDeleteViaLidarr_LidarrAlbumNotFound(t *testing.T) { cfg := lidarrconfig.New(pool) _ = cfg.Save(context.Background(), lidarrconfig.Config{Enabled: true, BaseURL: stub.URL, APIKey: "k"}) clientFn := func() *lidarr.Client { return lidarr.NewClient(stub.URL, "k") } - svc := NewService(pool, cfg, clientFn) + svc := NewService(pool, cfg, clientFn, "") track, _, _ := seedTrack(t, pool, "T", "x") _, _ = svc.Flag(context.Background(), user.ID, track.ID, "bad_rip", "") @@ -521,7 +521,7 @@ func TestDeleteViaLidarr_TrackNotFound(t *testing.T) { t.Fatalf("save config: %v", err) } clientFn := func() *lidarr.Client { return lidarr.NewClient(stub.URL, "k") } - svc := NewService(pool, cfg, clientFn) + svc := NewService(pool, cfg, clientFn, "") var bogus pgtype.UUID bogus.Bytes = [16]byte{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}