mirror of https://github.com/lidarr/Lidarr
Fixed: Remove Tests for WDTV Artist and Album Image, Same as XBMC
Fixes #267
This commit is contained in:
parent
6fbbabfbff
commit
449a1e826d
|
@ -31,16 +31,6 @@ namespace NzbDrone.Core.Test.Extras.Metadata.Consumers.Wdtv
|
|||
Subject.FindMetadataFile(_artist, path).Should().BeNull();
|
||||
}
|
||||
|
||||
[TestCase("Specials")]
|
||||
[TestCase("specials")]
|
||||
[TestCase("Season 1")]
|
||||
public void should_return_album_image(string folder)
|
||||
{
|
||||
var path = Path.Combine(_artist.Path, folder, "folder.jpg");
|
||||
|
||||
Subject.FindMetadataFile(_artist, path).Type.Should().Be(MetadataType.AlbumImage);
|
||||
}
|
||||
|
||||
[TestCase(".xml", MetadataType.TrackMetadata)]
|
||||
public void should_return_metadata_for_track_if_valid_file_for_track(string extension, MetadataType type)
|
||||
{
|
||||
|
@ -57,13 +47,5 @@ namespace NzbDrone.Core.Test.Extras.Metadata.Consumers.Wdtv
|
|||
|
||||
Subject.FindMetadataFile(_artist, path).Should().BeNull();
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void should_return_artist_image_for_folder_jpg_in_artist_folder()
|
||||
{
|
||||
var path = Path.Combine(_artist.Path, "folder.jpg");
|
||||
|
||||
Subject.FindMetadataFile(_artist, path).Type.Should().Be(MetadataType.ArtistImage);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue