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
1 changed files with 4 additions and 0 deletions

View File

@ -101,6 +101,10 @@ namespace NzbDrone.Core.Test.ProviderTests
{
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);
}