Sorting for another show that starts with A

This commit is contained in:
Mark McDowall
2014-12-12 15:49:32 -08:00
parent cf0863a89d
commit a9171d44d9
3 changed files with 10 additions and 8 deletions
@@ -8,10 +8,11 @@ namespace NzbDrone.Core.Test.TvTests
[TestFixture]
public class SeriesTitleNormalizerFixture
{
[Test]
public void should_use_precomputed_title_for_a_to_z()
[TestCase("A to Z", 281588, "a to z")]
[TestCase("A. D. - The Trials & Triumph of the Early Church", 266757, "ad trials triumph early church")]
public void should_use_precomputed_title(string title, int tvdbId, string expected)
{
SeriesTitleNormalizer.Normalize("A to Z", 281588).Should().Be("a to z");
SeriesTitleNormalizer.Normalize(title, tvdbId).Should().Be(expected);
}
[TestCase("2 Broke Girls", "2 broke girls")]