purge test should now expect 1 and not 4 filesets

For this test the last 3 of the 4 filesets are now partials that follow a full backup. So the count is 1 now instead of 4.
This commit is contained in:
BlueBlock
2019-08-21 12:18:56 -04:00
parent 9a6fc927d3
commit e485ba752b
+1 -1
View File
@@ -156,7 +156,7 @@ namespace Duplicati.UnitTest
Console.WriteLine("Files:");
Console.WriteLine(" " + string.Join(Environment.NewLine + " ", files.Select(x => string.Format("{0}: {1}", x.Path, string.Join(" - ", x.Sizes.Select(y => y.ToString()))))));
Assert.AreEqual(4, filesets.Length, "Incorrect number of filesets after final backup");
Assert.AreEqual(1, filesets.Length, "Incorrect number of filesets after final backup");
Assert.AreEqual(filenames.Count + 1, filecount, "Incorrect number of files after final backup");
}
}