From b5b2ef312048d40fbfd6df5f2908bff317e54334 Mon Sep 17 00:00:00 2001
From: Camila San <hello@camila.codes>
Date: Fri, 12 Apr 2019 16:21:39 +0200
Subject: [PATCH] Updates test to fit new configuration default value.

Signed-off-by: Camila San <hello@camila.codes>
---
 test/testallfilesdeleted.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test/testallfilesdeleted.cpp b/test/testallfilesdeleted.cpp
index a2f6f4851..513fdb65d 100644
--- a/test/testallfilesdeleted.cpp
+++ b/test/testallfilesdeleted.cpp
@@ -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.