mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-27 18:17:13 +00:00
WebException now marks indexer tests as Inconclusive.
This commit is contained in:
parent
77b867d65e
commit
458565d473
1 changed files with 10 additions and 0 deletions
|
@ -208,6 +208,8 @@ public void nzbsorg_search_returns_valid_results(string title, int season, int e
|
|||
result.Should().OnlyContain(r => r.CleanTitle == Parser.NormalizeTitle(title));
|
||||
result.Should().OnlyContain(r => r.SeasonNumber == season);
|
||||
result.Should().OnlyContain(r => r.EpisodeNumbers.Contains(episode));
|
||||
|
||||
ExceptionVerification.MarkInconclusive(typeof(WebException));
|
||||
}
|
||||
|
||||
[TestCase("simpsons", 21, 23)]
|
||||
|
@ -233,6 +235,8 @@ public void newzbin_search_returns_valid_results(string title, int season, int e
|
|||
result.Should().OnlyContain(r => r.CleanTitle == Parser.NormalizeTitle(title));
|
||||
result.Should().OnlyContain(r => r.SeasonNumber == season);
|
||||
result.Should().OnlyContain(r => r.EpisodeNumbers.Contains(episode));
|
||||
|
||||
ExceptionVerification.MarkInconclusive(typeof(WebException));
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
@ -256,6 +260,8 @@ public void nzbmatrix_search_returns_valid_results()
|
|||
result.Should().OnlyContain(r => r.CleanTitle == "simpsons");
|
||||
result.Should().OnlyContain(r => r.SeasonNumber == 21);
|
||||
result.Should().OnlyContain(r => r.EpisodeNumbers.Contains(23));
|
||||
|
||||
ExceptionVerification.MarkInconclusive(typeof(WebException));
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
@ -280,6 +286,8 @@ public void nzbsorg_multi_word_search_returns_valid_results()
|
|||
result.Should().OnlyContain(r => r.SeasonNumber == 1);
|
||||
result.Should().OnlyContain(r => r.EpisodeNumbers.Contains(19));
|
||||
|
||||
ExceptionVerification.MarkInconclusive(typeof(WebException));
|
||||
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
@ -303,6 +311,8 @@ public void nzbmatrix_multi_word_search_returns_valid_results()
|
|||
result.Should().OnlyContain(r => r.CleanTitle == "bluebloods");
|
||||
result.Should().OnlyContain(r => r.SeasonNumber == 1);
|
||||
result.Should().OnlyContain(r => r.EpisodeNumbers.Contains(19));
|
||||
|
||||
ExceptionVerification.MarkInconclusive(typeof(WebException));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue