mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
System/Backup will backup Config.xml and NzbDrone.sdf to a zip file for the client to download.
This commit is contained in:
@@ -12,11 +12,8 @@ namespace NzbDrone.Core.Test.ProviderTests.DiskProviderTests
|
||||
[Test]
|
||||
public void Should_extract_to_correct_folder()
|
||||
{
|
||||
var archiveProvider = new ArchiveProvider();
|
||||
|
||||
var destination = Path.Combine(TempFolder, "destination");
|
||||
archiveProvider.ExtractArchive(GetTestFilePath("TestArchive.zip"), destination);
|
||||
|
||||
Mocker.Resolve<ArchiveProvider>().ExtractArchive(GetTestFilePath("TestArchive.zip"), destination);
|
||||
|
||||
var destinationFolder = new DirectoryInfo(destination);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user