From c8b53e6c303015d7ea35f7836df9666de262cd3c Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (o)" <j.wuttke@fz-juelich.de> Date: Thu, 9 Mar 2023 16:20:12 +0100 Subject: [PATCH] GUI unit test store conf under org name BornAgain (#465) --- Tests/Unit/GUI/TestAutosaveController.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tests/Unit/GUI/TestAutosaveController.cpp b/Tests/Unit/GUI/TestAutosaveController.cpp index 1934ae9b4bb..f23805fc388 100644 --- a/Tests/Unit/GUI/TestAutosaveController.cpp +++ b/Tests/Unit/GUI/TestAutosaveController.cpp @@ -9,6 +9,7 @@ #include "GUI/View/Project/ProjectManager.h" #include "Tests/GTestWrapper/google_test.h" #include "Tests/Unit/GUI/Utils.h" +#include <QApplication> #include <QSignalSpy> class TestAutosaveController : public ::testing::Test { @@ -99,6 +100,7 @@ TEST_F(TestAutosaveController, autoSaveControllerNewDocument) TEST_F(TestAutosaveController, autosaveEnabled) { + QApplication::setOrganizationName("BornAgain"); const QString projectDir("autosaveEnabled"); UTest::GUI::create_dir(projectDir); const QString ext = QString(GUI::Project::Utils::projectFileExtension); -- GitLab