1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-25 17:27:59 +00:00

Fixed American Dad test when specials are counted in the NEW numbering system (1,3,4,6,7,21)

This commit is contained in:
Mark McDowall 2011-11-15 17:08:20 -08:00
parent 2d00363b09
commit edfe2f1079

View file

@ -101,6 +101,10 @@ public void American_dad_fix()
{
for (int i = 1; i < season.Value.Count; i++)
{
//Skip specials, because someone decided 1,3,4,6,7,21 is how you count...
if (season.Key == 0)
continue;
season.Value.Should().Contain(c => c.EpisodeNumber == i, "Can't find Episode S{0:00}E{1:00}",
season.Value[0].SeasonNumber, i);
}