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
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2018-07-25 16:24:30 +0300
committerOlivier Goffart <ogoffart@woboq.com>2018-07-25 16:24:30 +0300
commit835c9163374f42003aa2f7795ade3f4ff62c8877 (patch)
tree975e8bc9bc428ca9ca818c88bfcb7e96276dc13d /test/testremotediscovery.cpp
parent7abb0826cf402e8ce74540bb98e987248bd757ca (diff)
New Discovery Algorithm: handle server errors
Diffstat (limited to 'test/testremotediscovery.cpp')
-rw-r--r--test/testremotediscovery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testremotediscovery.cpp b/test/testremotediscovery.cpp
index 4945bbf4c..4e9953e50 100644
--- a/test/testremotediscovery.cpp
+++ b/test/testremotediscovery.cpp
@@ -106,7 +106,7 @@ private slots:
QScopedValueRollback<int> setHttpTimeout(AbstractNetworkJob::httpTimeout, errorKind == Timeout ? 1 : 10000);
QSignalSpy errorSpy(&fakeFolder.syncEngine(), &SyncEngine::syncError);
- QCOMPARE(fakeFolder.syncOnce(), false);
+ QCOMPARE(fakeFolder.syncOnce(), syncSucceeds);
qDebug() << "errorSpy=" << errorSpy;
// The folder B should not have been sync'ed (and in particular not removed)