|
|
@ -8,7 +8,8 @@ namespace NzbDrone.Core.Test.TvTests
|
|
|
|
public class SeriesTitleNormalizerFixture
|
|
|
|
public class SeriesTitleNormalizerFixture
|
|
|
|
{
|
|
|
|
{
|
|
|
|
[TestCase("A to Z", 281588, "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")]
|
|
|
|
[TestCase("A.D. The Bible Continues", 289260, "ad bible continues")]
|
|
|
|
|
|
|
|
[TestCase("A.P. Bio", 328534, "ap bio")]
|
|
|
|
public void should_use_precomputed_title(string title, int tvdbId, string expected)
|
|
|
|
public void should_use_precomputed_title(string title, int tvdbId, string expected)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
SeriesTitleNormalizer.Normalize(title, tvdbId).Should().Be(expected);
|
|
|
|
SeriesTitleNormalizer.Normalize(title, tvdbId).Should().Be(expected);
|
|
|
|