fix(server/m7-cover-sources): forward-fix CI — last unused r
Missed FetchArtistArt_BothEmpty handler in the previous sweep — its body doesn't use r. Renamed to _.
This commit is contained in:
@@ -206,7 +206,7 @@ func TestTheAudioDB_FetchArtistArt_ThumbOnly(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestTheAudioDB_FetchArtistArt_BothEmpty(t *testing.T) {
|
func TestTheAudioDB_FetchArtistArt_BothEmpty(t *testing.T) {
|
||||||
srv := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
srv := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
|
||||||
w.Header().Set("Content-Type", "application/json")
|
w.Header().Set("Content-Type", "application/json")
|
||||||
_, _ = w.Write([]byte(`{"artists":[{"strArtistThumb":null,"strArtistFanart":null}]}`))
|
_, _ = w.Write([]byte(`{"artists":[{"strArtistThumb":null,"strArtistFanart":null}]}`))
|
||||||
}))
|
}))
|
||||||
|
|||||||
Reference in New Issue
Block a user