fixed broken tests

This commit is contained in:
kay.one 2011-06-02 18:24:15 -07:00
parent 67e55e5c39
commit a986c2790d
2 changed files with 1 additions and 8 deletions

View File

@ -90,13 +90,6 @@ namespace NzbDrone.Core.Test
ExceptionVerification.ExcpectedWarns(1); ExceptionVerification.ExcpectedWarns(1);
} }
[Test]
public void newzbing_rss_search()
{
}
[Test] [Test]
[TestCase("Adventure.Inc.S03E19.DVDRip.XviD-OSiTV", 3, 19, QualityTypes.DVD)] [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) public void custome_parser_partial_success(string title, int season, int episode, QualityTypes quality)

View File

@ -106,7 +106,7 @@ namespace NzbDrone.Core.Providers
var normalizeTitle = Parser.NormalizeTitle(title); var normalizeTitle = Parser.NormalizeTitle(title);
var seriesId = SceneNameHelper.GetIdByName(normalizeTitle); var seriesId = SceneNameHelper.GetIdByName(normalizeTitle);
if (seriesId != 0) if (seriesId != null)
{ {
return GetSeries(seriesId.Value); return GetSeries(seriesId.Value);
} }