Fixed: Remove accents from titles when looking for matching series

This commit is contained in:
Mark McDowall
2014-08-11 07:19:02 -07:00
parent 2008b32018
commit 41ece422c9
3 changed files with 14 additions and 6 deletions
@@ -40,5 +40,13 @@ namespace NzbDrone.Core.Test.ParserTests
var result = Parser.Parser.ParseSeriesName(postTitle);
result.Should().Be(title.CleanSeriesTitle());
}
[Test]
public void should_remove_accents_from_title()
{
const String title = "Carnivŕle";
title.CleanSeriesTitle().Should().Be("carnivale");
}
}
}