Ignoring WebExceptions in IndexerTests.

This commit is contained in:
kay.one 2011-11-20 19:49:04 -08:00
parent 5ea8fd22f7
commit e56aca17e8
1 changed files with 7 additions and 0 deletions

View File

@ -117,6 +117,7 @@ namespace NzbDrone.Core.Test
parseResults.Should().OnlyContain(s => s.Indexer == newzbinProvider.Name);
parseResults.Should().OnlyContain(s => !String.IsNullOrEmpty(s.NzbTitle));
ExceptionVerification.MarkInconclusive(typeof(WebException));
ExceptionVerification.IgnoreWarns();
}
@ -373,5 +374,11 @@ namespace NzbDrone.Core.Test
parseResults.Should().HaveCount(1);
parseResults[0].Size.Should().Be(1793148846);
}
[TearDown]
public void TearDown()
{
ExceptionVerification.MarkInconclusive(typeof(WebException));
}
}
}