mirror of https://github.com/Sonarr/Sonarr
Update client is now moved rather than copied.
This commit is contained in:
parent
03fb405c2e
commit
54e5874770
|
@ -97,7 +97,7 @@ namespace NzbDrone.Core.Test.JobTests
|
||||||
|
|
||||||
//Assert
|
//Assert
|
||||||
Mocker.GetMock<DiskProvider>().Verify(
|
Mocker.GetMock<DiskProvider>().Verify(
|
||||||
c => c.CopyDirectory(updateClientFolder, SANDBOX_FOLDER));
|
c => c.MoveDirectory(updateClientFolder, SANDBOX_FOLDER));
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
|
|
@ -68,7 +68,7 @@ namespace NzbDrone.Core.Providers.Jobs
|
||||||
|
|
||||||
logger.Info("Preparing client");
|
logger.Info("Preparing client");
|
||||||
notification.CurrentMessage = "Preparing to start Update";
|
notification.CurrentMessage = "Preparing to start Update";
|
||||||
_diskProvider.CopyDirectory(_enviromentProvider.GetUpdateClientFolder(), _enviromentProvider.GetUpdateSandboxFolder());
|
_diskProvider.MoveDirectory(_enviromentProvider.GetUpdateClientFolder(), _enviromentProvider.GetUpdateSandboxFolder());
|
||||||
|
|
||||||
|
|
||||||
logger.Info("Starting update client");
|
logger.Info("Starting update client");
|
||||||
|
|
Loading…
Reference in New Issue