diff --git a/agents/archivemailagent/autotests/archivemaildialogtest.cpp b/agents/archivemailagent/autotests/archivemaildialogtest.cpp index 2883e969b..6e9a25397 100644 --- a/agents/archivemailagent/autotests/archivemaildialogtest.cpp +++ b/agents/archivemailagent/autotests/archivemaildialogtest.cpp @@ -22,10 +22,11 @@ #include #include #include "../archivemailwidget.h" - +#include ArchiveMailDialogTest::ArchiveMailDialogTest(QObject *parent) : QObject(parent) { + QStandardPaths::setTestModeEnabled(true); } ArchiveMailDialogTest::~ArchiveMailDialogTest() diff --git a/agents/archivemailagent/autotests/archivemailinfotest.cpp b/agents/archivemailagent/autotests/archivemailinfotest.cpp index 42b410501..9dc0e238b 100644 --- a/agents/archivemailagent/autotests/archivemailinfotest.cpp +++ b/agents/archivemailagent/autotests/archivemailinfotest.cpp @@ -23,10 +23,12 @@ #include #include #include +#include ArchiveMailInfoTest::ArchiveMailInfoTest(QObject *parent) : QObject(parent) { + QStandardPaths::setTestModeEnabled(true); } ArchiveMailInfoTest::~ArchiveMailInfoTest()