Ignoring WebExceptions in IndexerTests.
This commit is contained in:
parent
5ea8fd22f7
commit
e56aca17e8
|
@ -117,6 +117,7 @@ namespace NzbDrone.Core.Test
|
||||||
parseResults.Should().OnlyContain(s => s.Indexer == newzbinProvider.Name);
|
parseResults.Should().OnlyContain(s => s.Indexer == newzbinProvider.Name);
|
||||||
parseResults.Should().OnlyContain(s => !String.IsNullOrEmpty(s.NzbTitle));
|
parseResults.Should().OnlyContain(s => !String.IsNullOrEmpty(s.NzbTitle));
|
||||||
|
|
||||||
|
ExceptionVerification.MarkInconclusive(typeof(WebException));
|
||||||
ExceptionVerification.IgnoreWarns();
|
ExceptionVerification.IgnoreWarns();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -373,5 +374,11 @@ namespace NzbDrone.Core.Test
|
||||||
parseResults.Should().HaveCount(1);
|
parseResults.Should().HaveCount(1);
|
||||||
parseResults[0].Size.Should().Be(1793148846);
|
parseResults[0].Size.Should().Be(1793148846);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[TearDown]
|
||||||
|
public void TearDown()
|
||||||
|
{
|
||||||
|
ExceptionVerification.MarkInconclusive(typeof(WebException));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue