mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
Ignoring WebExceptions in IndexerTests.
This commit is contained in:
parent
5ea8fd22f7
commit
e56aca17e8
1 changed files with 7 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue