Commit 02b50a9d authored by Christoph Cullmann's avatar Christoph Cullmann 🍨
Browse files

ensure unit tests use own dummy config

parent f051f32e
......@@ -27,6 +27,9 @@ KateViewManagementTests::KateViewManagementTests(QObject *)
m_tempdir = new QTemporaryDir;
// ensure we use some dummy config
KConfig::setMainConfigName(m_tempdir->path() + QStringLiteral("/testconfigfilerc"));
// create KWrite variant to avoid plugin loading!
static QCommandLineParser parser;
app = std::make_unique<KateApp>(parser, KateApp::ApplicationKWrite, m_tempdir->path());
Supports Markdown
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