mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-26 15:52:42 +00:00
Fixed: Removed duplicate test cases
This commit is contained in:
parent
c95d3e0ecb
commit
b17cccd736
1 changed files with 0 additions and 10 deletions
|
@ -100,16 +100,6 @@ public void should_parse_quality_from_extension(string title)
|
||||||
Parser.Parser.ParseAlbumTitle(title).Quality.QualitySource.Should().Be(QualitySource.Extension);
|
Parser.Parser.ParseAlbumTitle(title).Quality.QualitySource.Should().Be(QualitySource.Extension);
|
||||||
}
|
}
|
||||||
|
|
||||||
[TestCase("of Montreal-Hissing Fauna, Are You The Destroyer? 2007", "Hissing Fauna, Are You The Destroyer?", "of Montreal", "2007")]
|
|
||||||
[TestCase("of Montreal - 2007 - Hissing Fauna, Are You The Destroyer?", "Hissing Fauna, Are You The Destroyer?", "of Montreal", "2007")]
|
|
||||||
public void should_parse_album(string title, string correctAlbum, string correctArtist, string correctYear)
|
|
||||||
{
|
|
||||||
ParsedAlbumInfo result = Parser.Parser.ParseAlbumTitle(title);
|
|
||||||
result.AlbumTitle.Should().Be(correctAlbum);
|
|
||||||
result.ArtistName.Should().Be(correctArtist);
|
|
||||||
result.ReleaseDate.Should().Be(correctYear);
|
|
||||||
}
|
|
||||||
|
|
||||||
[TestCase("VA - The Best 101 Love Ballads (2017) MP3 [192 kbps]", "VA", "The Best 101 Love Ballads")]
|
[TestCase("VA - The Best 101 Love Ballads (2017) MP3 [192 kbps]", "VA", "The Best 101 Love Ballads")]
|
||||||
[TestCase("ATCQ - The Love Movement 1998 2CD 192kbps RIP", "ATCQ", "The Love Movement")]
|
[TestCase("ATCQ - The Love Movement 1998 2CD 192kbps RIP", "ATCQ", "The Love Movement")]
|
||||||
//[TestCase("A Tribe Called Quest - The Love Movement 1998 2CD [192kbps] RIP", "A Tribe Called Quest", "The Love Movement")]
|
//[TestCase("A Tribe Called Quest - The Love Movement 1998 2CD [192kbps] RIP", "A Tribe Called Quest", "The Love Movement")]
|
||||||
|
|
Loading…
Reference in a new issue