Fixed redirect test

pull/3475/head
Taloth Saldono 5 years ago
parent d421ff9736
commit b86cfd49ef

@ -238,7 +238,7 @@ namespace NzbDrone.Common.Test.Http
[Test] [Test]
public void should_throw_on_too_many_redirects() public void should_throw_on_too_many_redirects()
{ {
var request = new HttpRequest($"http://{_httpBinHost}/redirect/4"); var request = new HttpRequest($"http://{_httpBinHost}/redirect/6");
request.AllowAutoRedirect = true; request.AllowAutoRedirect = true;
Assert.Throws<WebException>(() => Subject.Get(request)); Assert.Throws<WebException>(() => Subject.Get(request));

Loading…
Cancel
Save