diff --git a/NzbDrone.Core.Test/UpdateTests/UpdateServiceFixture.cs b/NzbDrone.Core.Test/UpdateTests/UpdateServiceFixture.cs index aa9eae903..4d36befe2 100644 --- a/NzbDrone.Core.Test/UpdateTests/UpdateServiceFixture.cs +++ b/NzbDrone.Core.Test/UpdateTests/UpdateServiceFixture.cs @@ -103,10 +103,8 @@ namespace NzbDrone.Core.Test.UpdateTests { Subject.Execute(new ApplicationUpdateCommand()); - Mocker.GetMock().Verify( - c => c.Start(It.Is(p => - !string.IsNullOrWhiteSpace(p.FileName) && - p.Arguments == "12"))); + Mocker.GetMock() + .Verify(c => c.ShellExecute(It.IsAny(), "12", null, null), Times.Once()); } [Test] diff --git a/NzbDrone.Core/Update/InstallUpdateService.cs b/NzbDrone.Core/Update/InstallUpdateService.cs index 5a48968f6..0b25f8717 100644 --- a/NzbDrone.Core/Update/InstallUpdateService.cs +++ b/NzbDrone.Core/Update/InstallUpdateService.cs @@ -1,5 +1,4 @@ using System; -using System.Diagnostics; using System.IO; using NLog; using NzbDrone.Common; @@ -71,7 +70,7 @@ namespace NzbDrone.Core.Update _diskProvider.MoveFolder(_appFolderInfo.GetUpdateClientFolder(), updateSandboxFolder); - _logger.Info("Starting update client"); + _logger.Info("Starting update client {0}", _appFolderInfo.GetUpdateClientExePath()); var process = _processProvider.ShellExecute(_appFolderInfo.GetUpdateClientExePath(), _processProvider.GetCurrentProcess().Id.ToString()); @@ -85,4 +84,4 @@ namespace NzbDrone.Core.Update } } } -} \ No newline at end of file +}