mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 18:57:39 -07:00
moved hosting, system tray out of common
This commit is contained in:
parent
2ec79e6744
commit
45b4972091
17 changed files with 115 additions and 93 deletions
|
@ -1,5 +1,6 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using Moq;
|
||||
using NLog;
|
||||
using NLog.Config;
|
||||
|
@ -11,6 +12,8 @@ using NzbDrone.Api.RootFolders;
|
|||
using NzbDrone.Common;
|
||||
using NzbDrone.Core.Datastore;
|
||||
using NzbDrone.Integration.Test.Client;
|
||||
using NzbDrone.Owin;
|
||||
using NzbDrone.Owin.MiddleWare;
|
||||
using RestSharp;
|
||||
using TinyIoC;
|
||||
|
||||
|
@ -85,7 +88,7 @@ namespace NzbDrone.Integration.Test
|
|||
var _hostConfig = new Mock<ConfigFileProvider>();
|
||||
_hostConfig.SetupGet(c => c.Port).Returns(1313);
|
||||
|
||||
_hostController = new OwinHostController(_hostConfig.Object, _bootstrapper, Logger);
|
||||
_hostController = new OwinHostController(_hostConfig.Object, new[] { new NancyMiddleWare(_bootstrapper) }, Logger);
|
||||
|
||||
|
||||
RestClient = new RestClient(_hostController.AppUrl + "/api/");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue