mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 13:05:51 +03:00
Test: Fix testMovedWithError for vfs mode
This commit is contained in:
parent
85aefa4232
commit
734e49765d
1 changed files with 8 additions and 2 deletions
|
@ -865,7 +865,13 @@ private slots:
|
|||
QTest::newRow("Vfs::Off") << Vfs::Off;
|
||||
QTest::newRow("Vfs::WithSuffix") << Vfs::WithSuffix;
|
||||
#ifdef Q_OS_WIN32
|
||||
QTest::newRow("Vfs::WindowsCfApi") << Vfs::WindowsCfApi;
|
||||
if (isVfsPluginAvailable(Vfs::WindowsCfApi))
|
||||
{
|
||||
QTest::newRow("Vfs::WindowsCfApi") << Vfs::WindowsCfApi;
|
||||
} else {
|
||||
QWARN("Skipping Vfs::WindowsCfApi");
|
||||
}
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -888,7 +894,7 @@ private slots:
|
|||
|
||||
if (vfsMode != Vfs::Off)
|
||||
{
|
||||
auto vfs = QSharedPointer<Vfs>(createVfsFromPlugin(Vfs::WithSuffix).release());
|
||||
auto vfs = QSharedPointer<Vfs>(createVfsFromPlugin(vfsMode).release());
|
||||
QVERIFY(vfs);
|
||||
fakeFolder.switchToVfs(vfs);
|
||||
fakeFolder.syncJournal().internalPinStates().setForPath("", PinState::OnlineOnly);
|
||||
|
|
Loading…
Reference in a new issue