diff --git a/Duplicati/UnitTest/ProblematicPathTests.cs b/Duplicati/UnitTest/ProblematicPathTests.cs index 106465eed..46a7faac8 100644 --- a/Duplicati/UnitTest/ProblematicPathTests.cs +++ b/Duplicati/UnitTest/ProblematicPathTests.cs @@ -266,7 +266,11 @@ namespace Duplicati.UnitTest var options = new Dictionary(this.TestOptions); using (var c = new Controller("file://" + this.TARGETFOLDER, options, null)) - TestUtils.AssertResults(await c.BackupAsync(new[] { this.DATAFOLDER })); + { + var r = await c.BackupAsync(new[] { this.DATAFOLDER }); + Assert.AreNotEqual(r.AddedFiles, 0, "No files added"); + TestUtils.AssertResults(r); + } var restoreOptions = new Dictionary(this.TestOptions) { ["restore-path"] = this.RESTOREFOLDER };