Commit 76e660bb authored by Wescoeur's avatar Wescoeur

feat(tests/main-view): use QCOMPARE instead of QVERIFY for object name

parent 5ccc9777
......@@ -42,7 +42,7 @@ void MainViewTest::showManageAccountsPopup () {
QVERIFY(virtualWindowContent);
QVERIFY(!strncmp(virtualWindowContent->metaObject()->className(), name, sizeof name - 1));
QVERIFY(virtualWindowContent->objectName() == "manageAccounts");
QCOMPARE(virtualWindowContent->objectName(), QStringLiteral("manageAccounts"));
// Close popup.
QTest::mouseClick(mainWindow, Qt::LeftButton, Qt::KeyboardModifiers(), QPoint(476, 392));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment