mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-25 01:06:30 +00:00
fixed broken tests
This commit is contained in:
parent
67e55e5c39
commit
a986c2790d
2 changed files with 1 additions and 8 deletions
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue