mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-01-05 23:33:53 +01:00
Fix test for http client
This commit is contained in:
parent
32db2af0ea
commit
1a307b8e21
1 changed files with 2 additions and 1 deletions
|
|
@ -136,7 +136,8 @@ public void should_throw_timeout_request()
|
|||
request.RequestTimeout = new TimeSpan(0, 0, 5);
|
||||
|
||||
Assert.Throws<WebException>(() => Subject.Execute(request));
|
||||
ExceptionVerification.ExpectedErrors(1);
|
||||
|
||||
ExceptionVerification.ExpectedErrors(0);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
|
|
|||
Loading…
Reference in a new issue