mirror of
https://github.com/Readarr/Readarr.git
synced 2026-05-24 08:21:14 -04:00
Update client is now moved rather than copied.
This commit is contained in:
@@ -97,7 +97,7 @@ public void Should_copy_update_client_to_root_of_sandbox()
|
||||
|
||||
//Assert
|
||||
Mocker.GetMock<DiskProvider>().Verify(
|
||||
c => c.CopyDirectory(updateClientFolder, SANDBOX_FOLDER));
|
||||
c => c.MoveDirectory(updateClientFolder, SANDBOX_FOLDER));
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
@@ -68,7 +68,7 @@ public virtual void Start(ProgressNotification notification, int targetId, int s
|
||||
|
||||
logger.Info("Preparing client");
|
||||
notification.CurrentMessage = "Preparing to start Update";
|
||||
_diskProvider.CopyDirectory(_enviromentProvider.GetUpdateClientFolder(), _enviromentProvider.GetUpdateSandboxFolder());
|
||||
_diskProvider.MoveDirectory(_enviromentProvider.GetUpdateClientFolder(), _enviromentProvider.GetUpdateSandboxFolder());
|
||||
|
||||
|
||||
logger.Info("Starting update client");
|
||||
|
||||
Reference in New Issue
Block a user