mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 03:52:33 +02:00
Fixed redirect test
This commit is contained in:
parent
1e4bdcc324
commit
42b4a03eb4
@ -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 New Issue
Block a user