From ffb80cb00d8fd886051f970b5155a55b1d066fcd Mon Sep 17 00:00:00 2001 From: Elvis Angelaccio Date: Sat, 13 Mar 2021 17:18:53 +0100 Subject: Enable test mode in all test --- src/tests/viewpropertiestest.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/tests/viewpropertiestest.cpp') diff --git a/src/tests/viewpropertiestest.cpp b/src/tests/viewpropertiestest.cpp index fb3023db5..14d59be0a 100644 --- a/src/tests/viewpropertiestest.cpp +++ b/src/tests/viewpropertiestest.cpp @@ -15,6 +15,7 @@ class ViewPropertiesTest : public QObject Q_OBJECT private Q_SLOTS: + void initTestCase(); void init(); void cleanup(); @@ -26,6 +27,11 @@ private: TestDir* m_testDir; }; +void ViewPropertiesTest::initTestCase() +{ + QStandardPaths::setTestModeEnabled(true); +} + void ViewPropertiesTest::init() { m_globalViewProps = GeneralSettings::self()->globalViewProps(); -- cgit v1.3