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