Fixed redirect test

pull/2/head
Taloth Saldono 5 years ago committed by Qstick
parent 1e4bdcc324
commit 42b4a03eb4

@ -246,7 +246,7 @@ namespace NzbDrone.Common.Test.Http
[Test]
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;
Assert.Throws<WebException>(() => Subject.Get(request));

Loading…
Cancel
Save