From a986c2790df09ab1260013e315c4a56eb3b0a94e Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Thu, 2 Jun 2011 18:24:15 -0700 Subject: [PATCH] fixed broken tests --- NzbDrone.Core.Test/IndexerTests.cs | 7 ------- NzbDrone.Core/Providers/SeriesProvider.cs | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/NzbDrone.Core.Test/IndexerTests.cs b/NzbDrone.Core.Test/IndexerTests.cs index 067e2cee0..0c74fe042 100644 --- a/NzbDrone.Core.Test/IndexerTests.cs +++ b/NzbDrone.Core.Test/IndexerTests.cs @@ -90,13 +90,6 @@ namespace NzbDrone.Core.Test ExceptionVerification.ExcpectedWarns(1); } - [Test] - public void newzbing_rss_search() - { - - } - - [Test] [TestCase("Adventure.Inc.S03E19.DVDRip.XviD-OSiTV", 3, 19, QualityTypes.DVD)] public void custome_parser_partial_success(string title, int season, int episode, QualityTypes quality) diff --git a/NzbDrone.Core/Providers/SeriesProvider.cs b/NzbDrone.Core/Providers/SeriesProvider.cs index b53b232db..079d823cc 100644 --- a/NzbDrone.Core/Providers/SeriesProvider.cs +++ b/NzbDrone.Core/Providers/SeriesProvider.cs @@ -106,7 +106,7 @@ namespace NzbDrone.Core.Providers var normalizeTitle = Parser.NormalizeTitle(title); var seriesId = SceneNameHelper.GetIdByName(normalizeTitle); - if (seriesId != 0) + if (seriesId != null) { return GetSeries(seriesId.Value); }