1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 04:22:30 +01:00

Added cert override for integration tests

This commit is contained in:
kay.one 2013-07-07 10:27:11 -07:00
parent e0bf68123d
commit 86984bbae3

View File

@ -2,6 +2,7 @@
using System.Collections.Generic;
using Microsoft.Owin.Hosting;
using NLog;
using NzbDrone.Common.Security;
using NzbDrone.Core.Configuration;
using NzbDrone.Owin.MiddleWare;
using Owin;
@ -25,6 +26,8 @@ public OwinHostController(IConfigFileProvider configFileProvider, IEnumerable<IO
public void StartServer()
{
IgnoreCertErrorPolicy.Register();
var url = "http://*:" + _configFileProvider.Port;
var options = new StartOptions(url)