Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Cambra <claudio.cambra@nextcloud.com>2022-11-05 15:20:13 +0300
committerClaudio Cambra <claudio.cambra@nextcloud.com>2022-11-05 16:51:24 +0300
commit209685b093cdc0901aefc288c38cf08f450b74ae (patch)
tree5edd0a48c4541dbc8000d81ca089fc3fcc7f4e2d
parent4eb888babb3a319bde560b1fbe0c1562d00259b4 (diff)
Fix bad remote path in sharetestutils fakefolder, which led to failed FakePropfindReply being provided in testsfeature/implement-internal-link-share
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
-rw-r--r--test/sharetestutils.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/sharetestutils.cpp b/test/sharetestutils.cpp
index 7f481a612..249d7b1df 100644
--- a/test/sharetestutils.cpp
+++ b/test/sharetestutils.cpp
@@ -143,7 +143,9 @@ void ShareTestHelper::setup()
const auto folderMan = FolderMan::instance();
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());
QVERIFY(folder);
QVERIFY(fakeFolder.syncOnce());