mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 13:05:51 +03:00
Fix testcase.
It failed because the directory where change happened triggered a notification within the second before, so the event was skipped.
This commit is contained in:
parent
5ed4710d64
commit
87386ce001
1 changed files with 2 additions and 2 deletions
|
@ -91,9 +91,9 @@ private slots:
|
||||||
}
|
}
|
||||||
|
|
||||||
void testRemoveADir() {
|
void testRemoveADir() {
|
||||||
_checkMark = _root+"/a1/b1";
|
_checkMark = _root+"/a1/b3";
|
||||||
QDir dir;
|
QDir dir;
|
||||||
dir.rmdir(_root+"/a1/b1/c2");
|
QVERIFY(dir.rmdir(_root+"/a1/b3/c3"));
|
||||||
_loop.processEvents();
|
_loop.processEvents();
|
||||||
QVERIFY(_checkMark.isEmpty()); // the slot clears the checkmark.
|
QVERIFY(_checkMark.isEmpty()); // the slot clears the checkmark.
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue