applicationmode cleanup.

This commit is contained in:
kayone
2013-11-25 22:53:36 -08:00
parent c219be8c8d
commit 1e6817220a
28 changed files with 187 additions and 144 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ namespace NzbDrone.App.Test
[TestFixture]
public class ContainerFixture : TestBase
{
StartupArguments args = new StartupArguments("first", "second");
StartupContext args = new StartupContext("first", "second");
[Test]
public void should_be_able_to_resolve_indexers()
+1 -1
View File
@@ -68,7 +68,7 @@ namespace NzbDrone.App.Test
serviceProvider.Setup(c => c.ServiceExist(It.IsAny<string>())).Returns(true);
serviceProvider.Setup(c => c.GetStatus(It.IsAny<string>())).Returns(ServiceControllerStatus.StartPending);
Subject.Route();
Subject.Route(ApplicationModes.Service);
serviceProvider.Verify(c => c.Run(It.IsAny<ServiceBase>()), Times.Once());
}