Commit 98f6afb1 authored by Sandro Knauß's avatar Sandro Knauß
Browse files

fix tests that break when run with QTEST_GUILESS_MAIN.

MessageCore::StringUtilTests depend on MessageCoreSettings, that depends on
ColorUtils that needs access to the palette and this is in GUI depdendend. And
this means it needs QTEST_MAIN to run successfully.

CCMAIL: montel@kde.org

This reverts part of commit 5e2aafed.
parent dc7d0c10
......@@ -10,7 +10,7 @@
#include <QUrl>
using namespace MessageCore;
QTEST_GUILESS_MAIN(StringUtilTest)
QTEST_MAIN(StringUtilTest)
#define lineLength 40
void StringUtilTest::test_SmartQuote()
......
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