mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
QmlBookmarksApiTest: Fix testBookmarksCreation
This commit is contained in:
parent
ff9c70dccb
commit
6dd33dd803
|
@ -65,7 +65,7 @@ void QmlBookmarksApiTest::testBookmarksCreation()
|
||||||
QVERIFY(qmlBookmarks);
|
QVERIFY(qmlBookmarks);
|
||||||
|
|
||||||
QSignalSpy qmlBookmarksSpy(qmlBookmarks, SIGNAL(created(QmlBookmarkTreeNode*)));
|
QSignalSpy qmlBookmarksSpy(qmlBookmarks, SIGNAL(created(QmlBookmarkTreeNode*)));
|
||||||
mApp->bookmarks()->addBookmark(mApp->bookmarks()->rootItem(), item);
|
mApp->bookmarks()->addBookmark(mApp->bookmarks()->toolbarFolder(), item);
|
||||||
|
|
||||||
QCOMPARE(qmlBookmarksSpy.count(), 1);
|
QCOMPARE(qmlBookmarksSpy.count(), 1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user