@ -143,6 +143,9 @@ namespace NzbDrone.Update.Test
Mocker.GetMock<DiskProvider>()
.Setup(c => c.CopyDirectory(UPDATE_FOLDER, TARGET_FOLDER));
.Setup(c => c.DeleteFolder(UPDATE_FOLDER, true));
Mocker.Resolve<UpdateProvider>().Start(TARGET_FOLDER);
}
@ -79,6 +79,7 @@ namespace NzbDrone.Update.Providers
try
{
_diskProvider.CopyDirectory(_enviromentProvider.GetUpdatePackageFolder(), targetFolder);
_diskProvider.DeleteFolder(_enviromentProvider.GetUpdatePackageFolder(), true);
catch (Exception e)