mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 06:55:59 +03:00
Fix test: QTemporaryDir::filePath was added in Qt 5.9
This commit is contained in:
parent
765c12dae1
commit
600b1a72c1
1 changed files with 1 additions and 1 deletions
|
@ -711,7 +711,7 @@ static void check_placeholder_exclude(void **state)
|
||||||
QByteArray expected = "\n#!version < 2.5.0\n*.owncloud\n";
|
QByteArray expected = "\n#!version < 2.5.0\n*.owncloud\n";
|
||||||
|
|
||||||
// Case 1: No file exists yet, parent dirs are missing too
|
// Case 1: No file exists yet, parent dirs are missing too
|
||||||
path = tempDir.filePath("foo/bar/exclude.lst");
|
path = tempDir.path() + "/foo/bar/exclude.lst";
|
||||||
ExcludedFiles::setupPlaceholderExclude(path, ".owncloud");
|
ExcludedFiles::setupPlaceholderExclude(path, ".owncloud");
|
||||||
|
|
||||||
assert_true(QFile::exists(path));
|
assert_true(QFile::exists(path));
|
||||||
|
|
Loading…
Reference in a new issue