From 5d7983f52df83ce051b64414526e3c84356d07e0 Mon Sep 17 00:00:00 2001 From: Heiko Becker Date: Thu, 1 Aug 2019 22:32:41 +0200 Subject: [PATCH] testsmshelper: Use QTEST_GUILESS_MAIN The test still works fine with it, allowing it to run without a display server. --- tests/testsmshelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testsmshelper.cpp b/tests/testsmshelper.cpp index 89a723fe3..df0259bec 100644 --- a/tests/testsmshelper.cpp +++ b/tests/testsmshelper.cpp @@ -268,5 +268,5 @@ void SmsHelperTest::testEmptyInput() QVERIFY2(!SmsHelper::isPhoneNumberMatch(empty, realNumber), "The empty string matched a real phone number"); } -QTEST_MAIN(SmsHelperTest); +QTEST_GUILESS_MAIN(SmsHelperTest); #include "testsmshelper.moc"