|
|
|
@ -42,6 +42,7 @@ namespace NzbDrone.Core.Test.DecisionEngineTests.Search.SingleEpisodeSearchMatch
|
|
|
|
|
{
|
|
|
|
|
_remoteEpisode.ParsedEpisodeInfo.SeasonNumber = 10;
|
|
|
|
|
_remoteEpisode.MappedSeasonNumber = 5; // 10 -> 5 mapping
|
|
|
|
|
_searchCriteria.SeasonNumber = 10; // searching by tvdb 5 = 10 scene
|
|
|
|
|
|
|
|
|
|
Subject.IsSatisfiedBy(_remoteEpisode, _searchCriteria).Accepted.Should().BeTrue();
|
|
|
|
|
}
|
|
|
|
@ -51,6 +52,7 @@ namespace NzbDrone.Core.Test.DecisionEngineTests.Search.SingleEpisodeSearchMatch
|
|
|
|
|
{
|
|
|
|
|
_remoteEpisode.ParsedEpisodeInfo.SeasonNumber = 10;
|
|
|
|
|
_remoteEpisode.MappedSeasonNumber = 6; // 9 -> 5 mapping
|
|
|
|
|
_searchCriteria.SeasonNumber = 9; // searching by tvdb 5 = 9 scene
|
|
|
|
|
|
|
|
|
|
Subject.IsSatisfiedBy(_remoteEpisode, _searchCriteria).Accepted.Should().BeFalse();
|
|
|
|
|
}
|
|
|
|
|