Fixed redirect test

This commit is contained in:
Taloth Saldono 2019-12-24 11:52:26 +01:00
parent d421ff9736
commit b86cfd49ef
1 changed files with 1 additions and 1 deletions

View File

@ -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));