Fixed auth tests

This commit is contained in:
Mark McDowall 2013-05-21 21:06:25 -07:00
commit f5a68782ce
3 changed files with 9 additions and 15 deletions

View file

@ -38,7 +38,7 @@ namespace NzbDrone.Api
container.Resolve<DatabaseTarget>().Register();
container.Resolve<IMessageAggregator>().PublishEvent(new ApplicationStartedEvent());
if (container.Resolve<IConfigFileProvider>().AuthenticationType == AuthenticationType.Basic)
{
pipelines.EnableBasicAuthentication(new BasicAuthenticationConfiguration(