mirror of
https://github.com/Radarr/Radarr
synced 2024-12-27 10:19:41 +00:00
Connect to EZTV over SSL
This commit is contained in:
parent
d78e55a4d1
commit
33ca71a745
2 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ namespace NzbDrone.Common.Test.Http
|
||||||
{
|
{
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
[IntegrationTest]
|
[IntegrationTest]
|
||||||
public class RestClientFixture : TestBase<HttpClient>
|
public class HttpClientFixture : TestBase<HttpClient>
|
||||||
{
|
{
|
||||||
[Test]
|
[Test]
|
||||||
public void should_execute_simple_get()
|
public void should_execute_simple_get()
|
||||||
|
@ -83,7 +83,7 @@ public void should_send_user_agent()
|
||||||
|
|
||||||
var userAgent = response.Resource.Headers["User-Agent"].ToString();
|
var userAgent = response.Resource.Headers["User-Agent"].ToString();
|
||||||
|
|
||||||
userAgent.Should().Contain("NzbDrone");
|
userAgent.Should().Contain("Sonarr");
|
||||||
}
|
}
|
||||||
|
|
||||||
[TestCase("Accept", "text/xml, text/rss+xml, application/rss+xml")]
|
[TestCase("Accept", "text/xml, text/rss+xml, application/rss+xml")]
|
||||||
|
|
|
@ -22,7 +22,7 @@ public class EztvSettings : IProviderConfig
|
||||||
|
|
||||||
public EztvSettings()
|
public EztvSettings()
|
||||||
{
|
{
|
||||||
BaseUrl = "http://www.ezrss.it/";
|
BaseUrl = "https://www.ezrss.it/";
|
||||||
}
|
}
|
||||||
|
|
||||||
[FieldDefinition(0, Label = "Website URL")]
|
[FieldDefinition(0, Label = "Website URL")]
|
||||||
|
|
Loading…
Reference in a new issue