mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-30 15:32:31 +01: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
@ -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 New Issue
Block a user