diff options
author | Dean Ferreyra <dean@octw.com> | 2020-09-13 02:59:41 +0300 |
---|---|---|
committer | Dean Ferreyra <dean@octw.com> | 2020-09-13 03:03:48 +0300 |
commit | e3b8a12ec11aa19e61b722f37b4bcad97bbec41f (patch) | |
tree | eb3b1c3496c68112fbe2d945dae61774fe6228fa /Duplicati/UnitTest/ProblematicPathTests.cs | |
parent | eafe7320e90996633889ea1c64d3fd94deb81691 (diff) |
Unit test improvements per review comments
Diffstat (limited to 'Duplicati/UnitTest/ProblematicPathTests.cs')
-rw-r--r-- | Duplicati/UnitTest/ProblematicPathTests.cs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Duplicati/UnitTest/ProblematicPathTests.cs b/Duplicati/UnitTest/ProblematicPathTests.cs index ac1d075f1..eb2e815d6 100644 --- a/Duplicati/UnitTest/ProblematicPathTests.cs +++ b/Duplicati/UnitTest/ProblematicPathTests.cs @@ -81,12 +81,7 @@ namespace Duplicati.UnitTest Assert.AreEqual(0, restoreResults.Errors.Count()); Assert.AreEqual(0, restoreResults.Warnings.Count()); - foreach (string directory in directories) - {
- string directoryName = SystemIO.IO_OS.PathGetFileName(directory); - string restoredDirectory = SystemIO.IO_OS.PathCombine(this.RESTOREFOLDER, directoryName); - TestUtils.AssertDirectoryTreesAreEquivalent(directory, restoredDirectory, true, "Restore");
- } + TestUtils.AssertDirectoryTreesAreEquivalent(this.DATAFOLDER, this.RESTOREFOLDER, true, "Restore");
// List results using * should return a match for each directory. IListResults listResults = c.List(SystemIO.IO_OS.PathCombine(dirWithAsterisk, file)); |