Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2020-04-02 10:24:58 +0300
committerHannah von Reth <hannah.vonreth@owncloud.com>2020-04-02 10:24:58 +0300
commit080a569fff128a1880243602359d599eff955ffc (patch)
treea2114cec0399eacba1fc241bd9c304fb012bb104 /test
parent20fbaf8d9bc59742f4325dbfac3c553f7fee3eed (diff)
parent7964e47a28411605930d81441400acdb30953c8c (diff)
Merge remote-tracking branch 'origin/2.6'
Diffstat (limited to 'test')
-rw-r--r--test/testsyncmove.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/testsyncmove.cpp b/test/testsyncmove.cpp
index 9476434fb..b97d38e41 100644
--- a/test/testsyncmove.cpp
+++ b/test/testsyncmove.cpp
@@ -889,6 +889,9 @@ private slots:
const QString src = "folder/folderA/file.txt";
const QString dest = "folder/folderB/file.txt";
FakeFolder fakeFolder{ FileInfo{ QString(), { FileInfo{ QStringLiteral("folder"), { FileInfo{ QStringLiteral("folderA"), { { QStringLiteral("file.txt"), 400 } } }, QStringLiteral("folderB") } } } } };
+ auto syncOpts = fakeFolder.syncEngine().syncOptions();
+ syncOpts._parallelNetworkJobs = 0;
+ fakeFolder.syncEngine().setSyncOptions(syncOpts);
QCOMPARE(fakeFolder.currentLocalState(), fakeFolder.currentRemoteState());