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:
parent
ccc8bb8a0e
commit
5d7983f52d
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue