mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-23 12:55:44 +03:00
prevents modifying real user config file
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
parent
a9c5842dcc
commit
1e12fc951d
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,9 @@ signals:
|
|||
private slots:
|
||||
void testLeaveShare()
|
||||
{
|
||||
QTemporaryDir dir;
|
||||
ConfigFile::setConfDir(dir.path()); // we don't want to pollute the user's config file
|
||||
|
||||
constexpr auto firstSharePath = "A/sharedwithme_A.txt";
|
||||
constexpr auto secondSharePath = "A/B/sharedwithme_B.data";
|
||||
|
||||
|
|
Loading…
Reference in a new issue