mirror of
https://github.com/Radarr/Radarr
synced 2025-02-24 15:21:28 +00:00
Fixed redirect test
This commit is contained in:
parent
1e4bdcc324
commit
42b4a03eb4
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ public void should_follow_redirects_to_https()
|
|||
[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 a new issue