From b425b43801d30278c3be1c536aacdf61281707df Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Tue, 25 Feb 2025 10:50:38 +0000 Subject: [PATCH] fix: Use desktop process mode for core process tests rather than random value --- src/test/unittests/gui/core/CoreProcessTests.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/unittests/gui/core/CoreProcessTests.cpp b/src/test/unittests/gui/core/CoreProcessTests.cpp index 61dfcdcc7..062401e30 100644 --- a/src/test/unittests/gui/core/CoreProcessTests.cpp +++ b/src/test/unittests/gui/core/CoreProcessTests.cpp @@ -70,6 +70,7 @@ public: { ON_CALL(m_appConfig, useExternalConfig()).WillByDefault(testing::Return(true)); ON_CALL(m_appConfig, configFile()).WillByDefault(testing::ReturnRef(m_configFile)); + ON_CALL(m_appConfig, processMode()).WillByDefault(Return(ProcessMode::kDesktop)); } NiceMock m_appConfig;