diff --git a/src/qt/test/apptests.cpp b/src/qt/test/apptests.cpp --- a/src/qt/test/apptests.cpp +++ b/src/qt/test/apptests.cpp @@ -23,6 +23,8 @@ #include #endif +#include + #include #include #include @@ -91,6 +93,8 @@ Config &config = const_cast(GetConfig()); + // Create a temp data directory to backup the gui settings to + BasicTestingSetup test{CBaseChainParams::REGTEST}; // Already started by the common test setup, so stop it to avoid // interference ECC_Stop(); diff --git a/src/qt/test/paymentservertests.cpp b/src/qt/test/paymentservertests.cpp --- a/src/qt/test/paymentservertests.cpp +++ b/src/qt/test/paymentservertests.cpp @@ -12,7 +12,8 @@ #include