diff --git a/autotests/neochatroomtest.cpp b/autotests/neochatroomtest.cpp index e9edad2ca..df368df3f 100644 --- a/autotests/neochatroomtest.cpp +++ b/autotests/neochatroomtest.cpp @@ -144,5 +144,5 @@ void NeoChatRoomTest::eventTest() QCOMPARE(room->timelineSize(), 1); } -QTEST_MAIN(NeoChatRoomTest) +QTEST_GUILESS_MAIN(NeoChatRoomTest) #include "neochatroomtest.moc" diff --git a/autotests/texthandlertest.cpp b/autotests/texthandlertest.cpp index d2fadd83f..014a8c185 100644 --- a/autotests/texthandlertest.cpp +++ b/autotests/texthandlertest.cpp @@ -596,5 +596,5 @@ void TextHandlerTest::receiveLineSeparator() QCOMPARE(textHandler.handleRecievePlainText(Qt::PlainText, true), QStringLiteral("foo bar")); } -QTEST_MAIN(TextHandlerTest) +QTEST_GUILESS_MAIN(TextHandlerTest) #include "texthandlertest.moc"