mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 12:02:35 +02:00
Fix QualityParser Tests
This commit is contained in:
parent
b8ce140abc
commit
a6ce314db5
@ -20,7 +20,7 @@ public void Setup()
|
||||
public static object[] OtherSourceQualityParserCases =
|
||||
{
|
||||
new object[] { "SD TV", Source.TV, Resolution.R480p, Modifier.NONE },
|
||||
new object[] { "SD DVD", Source.DVD, Resolution.R480p, Modifier.NONE },
|
||||
new object[] { "SD DVD", Source.DVD, Resolution.Unknown, Modifier.NONE },
|
||||
new object[] { "480p WEB-DL", Source.WEBDL, Resolution.R480p, Modifier.NONE },
|
||||
new object[] { "HD TV", Source.TV, Resolution.R720p, Modifier.NONE },
|
||||
new object[] { "1080p HD TV", Source.TV, Resolution.R1080p, Modifier.NONE },
|
||||
@ -79,7 +79,7 @@ public void should_parse_sdtv_quality(string title, bool proper)
|
||||
[TestCase("SomeMovie.2018.DVDRip.ts", false)]
|
||||
public void should_parse_dvd_quality(string title, bool proper)
|
||||
{
|
||||
ParseAndVerifyQuality(title, Source.DVD, proper, Resolution.R480p);
|
||||
ParseAndVerifyQuality(title, Source.DVD, proper, Resolution.Unknown);
|
||||
}
|
||||
|
||||
[TestCase("Some.Movie.Magic.Rainbow.2007.DVD5.NTSC", false)]
|
||||
|
Loading…
Reference in New Issue
Block a user