1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-29 23:12:39 +01:00

Fixed Slovak language parsing test

This commit is contained in:
Mark McDowall 2022-09-24 22:54:22 -07:00
parent d2a23f7bcd
commit 80dd4ce3a1

View File

@ -302,8 +302,8 @@ namespace NzbDrone.Core.Test.ParserTests
[TestCase("Title.the.Series.2021.S01E11.HDTV.XviD.ENG.SK-LOL")]
public void should_parse_language_slovak(string postTitle)
{
var result = LanguageParser.ParseLanguage(postTitle);
result.Id.Should().Be(Language.Slovak.Id);
var result = LanguageParser.ParseLanguages(postTitle);
result.First().Id.Should().Be(Language.Slovak.Id);
}
[TestCase("Title.the.Russian.Series.S01E07.Cold.Action.HDTV.XviD-Droned")]