Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 0ca49806 authored by Christoph Cullmann's avatar Christoph Cullmann

fix KateSessionsActionTest

parent fcdf0224
......@@ -30,7 +30,14 @@ QTEST_MAIN(KateSessionsActionTest)
void KateSessionsActionTest::initTestCase()
{
m_app = new KateApp(QCommandLineParser()); // FIXME: aaaah, why, why, why?!
/**
* init resources from our static lib
*/
Q_INIT_RESOURCE(kate);
// we need an application object, as session loading will trigger modifications to that
m_app = new KateApp(QCommandLineParser());
m_app->sessionManager()->activateAnonymousSession();
}
void KateSessionsActionTest::cleanupTestCase()
......
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