mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
fixed some broken tests.
This commit is contained in:
parent
acaa05c9c0
commit
324b5e3b80
19 changed files with 95 additions and 135 deletions
16
NzbDrone.Api/ApiContainerExtensions.cs
Normal file
16
NzbDrone.Api/ApiContainerExtensions.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
using System.Linq;
|
||||
using Autofac;
|
||||
using Nancy.Bootstrapper;
|
||||
using NzbDrone.Common;
|
||||
|
||||
namespace NzbDrone.Api
|
||||
{
|
||||
public static class ApiContainerExtensions
|
||||
{
|
||||
public static void RegisterApiServices(this ContainerBuilder containerBuilder)
|
||||
{
|
||||
containerBuilder.RegisterAssemblyTypes("NzbDrone.Api");
|
||||
containerBuilder.RegisterType<NancyBootstrapper>().As<INancyBootstrapper>();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue