fixed broken tests

pull/4/head
kay.one 14 years ago
parent 67e55e5c39
commit a986c2790d

@ -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)

@ -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);
} }

Loading…
Cancel
Save