projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f3c3f6
)
Updates test to fit new configuration default value.
author
Camila San
<hello@camila.codes>
Fri, 12 Apr 2019 14:21:39 +0000
(16:21 +0200)
committer
Camila 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
patch
|
blob
|
history
diff --git
a/test/testallfilesdeleted.cpp
b/test/testallfilesdeleted.cpp
index a2f6f485130aa62e8287ce72a16b77075e2ca70d..513fdb65dfb41d281317e1c4c5e6152df488f6fe 100644
(file)
--- 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.