1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

Fixed redirect test

This commit is contained in:
Taloth Saldono 2019-12-24 11:52:26 +01:00 committed by Qstick
parent 1e4bdcc324
commit 42b4a03eb4

View File

@ -246,7 +246,7 @@ public void should_follow_redirects_to_https()
[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));