1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-22 22:16:13 -04:00

Fixed: Ignore series title before SxxExx when parsing language.

ref #861
This commit is contained in:
Taloth Saldono
2019-02-04 22:01:25 +01:00
parent 1d862db7c9
commit b3ff91608e
3 changed files with 26 additions and 0 deletions
@@ -213,5 +213,13 @@ namespace NzbDrone.Core.Test.ParserTests
result.Language.Id.Should().Be(Language.Czech.Id);
}
[TestCase("Russian.Puppets.S01E07.Cold.Action.HDTV.XviD-Droned")]
public void should_not_parse_series_or_episode_title(string postTitle)
{
var result = Parser.Parser.ParseTitle(postTitle);
result.Language.Name.Should().Be(Language.English.Name);
}
}
}