Fixed redirect test
This commit is contained in:
parent
d421ff9736
commit
b86cfd49ef
|
@ -238,7 +238,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…
Reference in New Issue