Bläddra i källkod

Tests: Fail if the initial sync fails

Christian Kamm 6 år sedan
förälder
incheckning
ee3279c904
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      test/syncenginetestutils.h

+ 1 - 1
test/syncenginetestutils.h

@@ -988,7 +988,7 @@ public:
         // A new folder will update the local file state database on first sync.
         // To have a state matching what users will encounter, we have to a sync
         // using an identical local/remote file tree first.
-        syncOnce();
+        ENFORCE(syncOnce());
     }
 
     void switchToVfs(QSharedPointer<OCC::Vfs> vfs)