Commit ac0278a3 authored by Laurent Montel's avatar Laurent Montel 😁

test return value from QTest::qWaitForWindowExposed

parent 3cff96b7
......@@ -61,7 +61,7 @@ void RecipientsEditorTest::test_addLineOnCommaPress()
MessageComposer::RecipientsEditor editor(new RecipientsLineTestFactory());
editor.show();
QApplication::setActiveWindow(&editor);
QTest::qWaitForWindowActive(&editor);
QVERIFY(QTest::qWaitForWindowActive(&editor));
QCOMPARE(editor.recipients().size(), 0);
......
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