System/Backup will backup Config.xml and NzbDrone.sdf to a zip file for the client to download.

This commit is contained in:
Mark McDowall
2012-01-25 23:56:05 -08:00
parent ab7d3ebcc5
commit 93ee97123f
3 changed files with 51 additions and 8 deletions
@@ -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);