Show poster thumbnails in the detail panes
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -75,14 +75,14 @@ func TestSeriesLabelAndDetails(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestResultKeysAndWithID(t *testing.T) {
|
||||
var r result = movieResult{radarr.Movie{TMDBID: 603, Title: "x"}}
|
||||
var r result = movieResult{Movie: radarr.Movie{TMDBID: 603, Title: "x"}}
|
||||
if r.key() != "tmdb:603" || r.inLibrary() {
|
||||
t.Fatalf("movie key/inLibrary: %q %v", r.key(), r.inLibrary())
|
||||
}
|
||||
if added := r.withID(5); !added.inLibrary() || r.inLibrary() {
|
||||
t.Error("withID must return a flagged copy and leave the original alone")
|
||||
}
|
||||
r = seriesResult{sonarr.Series{TVDBID: 81189}}
|
||||
r = seriesResult{Series: sonarr.Series{TVDBID: 81189}}
|
||||
if r.key() != "tvdb:81189" {
|
||||
t.Errorf("series key = %q", r.key())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user