mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-26 17:57:43 +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:
parent
2d00363b09
commit
edfe2f1079
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue