|
|
@ -1,4 +1,4 @@
|
|
|
|
using System;
|
|
|
|
using System;
|
|
|
|
using Moq;
|
|
|
|
using Moq;
|
|
|
|
using NUnit.Framework;
|
|
|
|
using NUnit.Framework;
|
|
|
|
using NzbDrone.Common;
|
|
|
|
using NzbDrone.Common;
|
|
|
@ -32,7 +32,7 @@ namespace NzbDrone.Update.Test
|
|
|
|
|
|
|
|
|
|
|
|
Subject.Start(AppType.Service, targetFolder);
|
|
|
|
Subject.Start(AppType.Service, targetFolder);
|
|
|
|
|
|
|
|
|
|
|
|
Mocker.GetMock<IProcessProvider>().Verify(c => c.SpawnNewProcess("c:\\Radarr\\/Radarr.Console.exe", "/" + StartupContext.NO_BROWSER, null), Times.Once());
|
|
|
|
Mocker.GetMock<IProcessProvider>().Verify(c => c.SpawnNewProcess("c:\\Radarr\\Radarr.Console.exe", "/" + StartupContext.NO_BROWSER, null), Times.Once());
|
|
|
|
|
|
|
|
|
|
|
|
ExceptionVerification.ExpectedWarns(1);
|
|
|
|
ExceptionVerification.ExpectedWarns(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|