mirror of
https://github.com/fergalmoran/Readarr.git
synced 2025-12-27 20:07:32 +00:00
Added cert override for integration tests
This commit is contained in:
@@ -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 @@ namespace NzbDrone.Owin
|
||||
|
||||
public void StartServer()
|
||||
{
|
||||
IgnoreCertErrorPolicy.Register();
|
||||
|
||||
var url = "http://*:" + _configFileProvider.Port;
|
||||
|
||||
var options = new StartOptions(url)
|
||||
|
||||
Reference in New Issue
Block a user