Updates test to fit new configuration default value.
authorCamila San <hello@camila.codes>
Fri, 12 Apr 2019 14:21:39 +0000 (16:21 +0200)
committerCamila San <hello@camila.codes>
Fri, 12 Apr 2019 14:22:07 +0000 (16:22 +0200)
Signed-off-by: Camila San <hello@camila.codes>
test/testallfilesdeleted.cpp

index a2f6f485130aa62e8287ce72a16b77075e2ca70d..513fdb65dfb41d281317e1c4c5e6152df488f6fe 100644 (file)
@@ -8,6 +8,7 @@
 #include <QtTest>
 #include "syncenginetestutils.h"
 #include <syncengine.h>
+#include <configfile.h>
 
 using namespace OCC;
 
@@ -48,6 +49,8 @@ private slots:
     {
         QFETCH(bool, deleteOnRemote);
         FakeFolder fakeFolder{FileInfo::A12_B12_C12_S12()};
+        ConfigFile config;
+        config.setPromptDeleteFiles(true);
 
         //Just set a blacklist so we can check it is still there. This directory does not exists but
         // that does not matter for our purposes.