mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-04-24 06:17:08 -04:00
Disable test on mono managed http.
This commit is contained in:
parent
f305331565
commit
fdaa8fb0f5
1 changed files with 5 additions and 0 deletions
|
@ -147,6 +147,11 @@ namespace NzbDrone.Common.Test.Http
|
|||
[Test]
|
||||
public void should_follow_redirects_to_https()
|
||||
{
|
||||
if (typeof(TDispatcher) == typeof(ManagedHttpDispatcher) && PlatformInfo.IsMono)
|
||||
{
|
||||
Assert.Ignore("Will fail on tls1.2 via managed dispatcher, ignore.");
|
||||
}
|
||||
|
||||
var request = new HttpRequestBuilder($"http://{_httpBinHost}/redirect-to")
|
||||
.AddQueryParam("url", $"https://sonarr.tv/")
|
||||
.Build();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue