testsmshelper: Use QTEST_GUILESS_MAIN

The test still works fine with it, allowing it to run without a display
server.
This commit is contained in:
Heiko Becker 2019-08-01 22:32:41 +02:00
parent ccc8bb8a0e
commit 5d7983f52d

View file

@ -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"