mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-26 20:11:49 +02:00
UpdateProvider will delete update package after installation.
This commit is contained in:
@@ -143,6 +143,9 @@ namespace NzbDrone.Update.Test
|
||||
Mocker.GetMock<DiskProvider>()
|
||||
.Setup(c => c.CopyDirectory(UPDATE_FOLDER, TARGET_FOLDER));
|
||||
|
||||
Mocker.GetMock<DiskProvider>()
|
||||
.Setup(c => c.DeleteFolder(UPDATE_FOLDER, true));
|
||||
|
||||
Mocker.Resolve<UpdateProvider>().Start(TARGET_FOLDER);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user