mirror of https://github.com/lidarr/Lidarr
Fixed American Dad test when specials are counted in the NEW numbering system (1,3,4,6,7,21)
This commit is contained in:
parent
2d00363b09
commit
edfe2f1079
|
@ -101,6 +101,10 @@ namespace NzbDrone.Core.Test.ProviderTests
|
||||||
{
|
{
|
||||||
for (int i = 1; i < season.Value.Count; i++)
|
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.Should().Contain(c => c.EpisodeNumber == i, "Can't find Episode S{0:00}E{1:00}",
|
||||||
season.Value[0].SeasonNumber, i);
|
season.Value[0].SeasonNumber, i);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue