diff --git a/test/testfolderman.cpp b/test/testfolderman.cpp index 66db0128b..7a2b3135e 100644 --- a/test/testfolderman.cpp +++ b/test/testfolderman.cpp @@ -57,6 +57,12 @@ private slots: QVERIFY(folderman->addFolder(newAccountState.data(), folderDefinition(dirPath + "/sub/ownCloud1"))); QVERIFY(folderman->addFolder(newAccountState.data(), folderDefinition(dirPath + "/ownCloud2"))); + const auto folderList = folderman->map(); + + for (const auto &folder : folderList) { + QVERIFY(!folder->isSyncRunning()); + } + // those should be allowed // QString FolderMan::checkPathValidityForNewFolder(const QString& path, const QUrl &serverUrl, bool forNewDirectory)