Fix log loading organisation name

pull/135/head
Simon Stürz 2017-10-12 08:55:09 +02:00 committed by Michael Zanetti
parent 77e5693d60
commit d0bd252ae1
1 changed files with 11 additions and 0 deletions

View File

@ -31,6 +31,9 @@ class TestLoggingLoading: public QObject
public:
TestLoggingLoading(QObject* parent = nullptr);
protected slots:
void initTestCase();
private slots:
void testLogMigration();
void testLogfileRotation();
@ -41,7 +44,15 @@ private slots:
TestLoggingLoading::TestLoggingLoading(QObject *parent): QObject(parent)
{
Q_INIT_RESOURCE(loggingloading);
}
void TestLoggingLoading::initTestCase()
{
// Important for settings
QCoreApplication::instance()->setOrganizationName("guh-test");
}
void TestLoggingLoading::testLogMigration()