1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-20 21:55:03 -04:00

Fixed language parsing of movies with language in movie name.

Fixes #793
This commit is contained in:
Leonardo Galli
2017-02-22 13:40:06 +01:00
parent 89e5001bad
commit a0050fedd3
3 changed files with 15 additions and 3 deletions
@@ -81,5 +81,11 @@ namespace NzbDrone.Core.Test.ParserTests
{
Parser.Parser.ParseMovieTitle(postTitle).Year.Should().Be(year);
}
[TestCase("The Danish Girl 2015")]
public void should_not_parse_language_in_movie_title(string postTitle)
{
Parser.Parser.ParseMovieTitle(postTitle).Language.Should().Be(Language.English);
}
}
}