mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-05 02:22:31 +01:00
Connect to EZTV over SSL
This commit is contained in:
parent
d78e55a4d1
commit
33ca71a745
@ -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 New Issue
Block a user