mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 14:36:01 +03:00
Fix bad remote path in sharetestutils fakefolder, which led to failed FakePropfindReply being provided in tests
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
9b5be727b1
commit
294ec8a2b6
1 changed files with 3 additions and 1 deletions
|
@ -143,7 +143,9 @@ void ShareTestHelper::setup()
|
||||||
|
|
||||||
const auto folderMan = FolderMan::instance();
|
const auto folderMan = FolderMan::instance();
|
||||||
QCOMPARE(folderMan, &fm);
|
QCOMPARE(folderMan, &fm);
|
||||||
QVERIFY(folderMan->addFolder(accountState.data(), folderDefinition(fakeFolder.localPath())));
|
auto folderDef = folderDefinition(fakeFolder.localPath());
|
||||||
|
folderDef.targetPath = QString();
|
||||||
|
QVERIFY(folderMan->addFolder(accountState.data(), folderDef));
|
||||||
const auto folder = FolderMan::instance()->folder(fakeFolder.localPath());
|
const auto folder = FolderMan::instance()->folder(fakeFolder.localPath());
|
||||||
QVERIFY(folder);
|
QVERIFY(folder);
|
||||||
QVERIFY(fakeFolder.syncOnce());
|
QVERIFY(fakeFolder.syncOnce());
|
||||||
|
|
Loading…
Reference in a new issue