diff options
Diffstat (limited to 'test/testremotediscovery.cpp')
-rw-r--r-- | test/testremotediscovery.cpp | 2 |
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) |