mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-04-24 22:37:06 -04:00
Fixed redirect test
This commit is contained in:
parent
d421ff9736
commit
b86cfd49ef
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue