1
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:
David Rosca 2019-04-18 16:40:02 +02:00
parent ff9c70dccb
commit 6dd33dd803
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8

View File

@ -65,7 +65,7 @@ void QmlBookmarksApiTest::testBookmarksCreation()
QVERIFY(qmlBookmarks);
QSignalSpy qmlBookmarksSpy(qmlBookmarks, SIGNAL(created(QmlBookmarkTreeNode*)));
mApp->bookmarks()->addBookmark(mApp->bookmarks()->rootItem(), item);
mApp->bookmarks()->addBookmark(mApp->bookmarks()->toolbarFolder(), item);
QCOMPARE(qmlBookmarksSpy.count(), 1);