From 54881a0e4a66b87bce1d597dac64a955faacccda Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Sun, 22 Jan 2012 20:29:09 -0800 Subject: [PATCH] fixed http 500 error. --- NzbDrone.Core.Test/IndexerTests.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/NzbDrone.Core.Test/IndexerTests.cs b/NzbDrone.Core.Test/IndexerTests.cs index 690f69f44..4d34b2669 100644 --- a/NzbDrone.Core.Test/IndexerTests.cs +++ b/NzbDrone.Core.Test/IndexerTests.cs @@ -114,7 +114,7 @@ namespace NzbDrone.Core.Test parseResults.Should().OnlyContain(s => s.Indexer == newzbinProvider.Name); parseResults.Should().OnlyContain(s => !String.IsNullOrEmpty(s.OriginalString)); - Mark503Inconclusive(); + Mark500Inconclusive(); ExceptionVerification.IgnoreWarns(); } @@ -178,7 +178,7 @@ namespace NzbDrone.Core.Test Mocker.Resolve().FetchRss(); - ExceptionVerification.IgnoreWarns(); + Mark500Inconclusive(); } [TestCase("simpsons", 21, 23)] @@ -198,7 +198,7 @@ namespace NzbDrone.Core.Test var result = Mocker.Resolve().FetchEpisode(title, season, episode); - Mark503Inconclusive(); + Mark500Inconclusive(); result.Should().NotBeEmpty(); result.Should().OnlyContain(r => r.SeasonNumber == season); @@ -224,7 +224,7 @@ namespace NzbDrone.Core.Test var result = Mocker.Resolve().FetchEpisode(title, season, episode); - Mark503Inconclusive(); + Mark500Inconclusive(); result.Should().NotBeEmpty(); result.Should().OnlyContain(r => r.CleanTitle == Parser.NormalizeTitle(title)); result.Should().OnlyContain(r => r.SeasonNumber == season); @@ -246,7 +246,7 @@ namespace NzbDrone.Core.Test var result = Mocker.Resolve().FetchEpisode("Simpsons", 21, 23); - Mark503Inconclusive(); + Mark500Inconclusive(); result.Should().NotBeEmpty(); result.Should().OnlyContain(r => r.CleanTitle == "simpsons"); @@ -272,7 +272,7 @@ namespace NzbDrone.Core.Test var result = Mocker.Resolve().FetchEpisode("Blue Bloods", 1, 19); - Mark503Inconclusive(); + Mark500Inconclusive(); result.Should().NotBeEmpty(); result.Should().OnlyContain(r => r.CleanTitle == "bluebloods"); @@ -383,7 +383,7 @@ namespace NzbDrone.Core.Test ExceptionVerification.ExpectedWarns(0); } - private static void Mark503Inconclusive() + private static void Mark500Inconclusive() { ExceptionVerification.MarkInconclusive(typeof(WebException)); ExceptionVerification.MarkInconclusive("System.Net.WebException");