diff --git a/src/qt/test/apptests.cpp b/src/qt/test/apptests.cpp index a14cc41ac3..938dc983fe 100644 --- a/src/qt/test/apptests.cpp +++ b/src/qt/test/apptests.cpp @@ -12,6 +12,8 @@ #include #include #include +#include +#include #include #if defined(HAVE_CONFIG_H) @@ -31,8 +33,6 @@ #include #include #include -#include -#include namespace { //! Call getblockchaininfo RPC and check first field of JSON output. @@ -67,6 +67,7 @@ void AppTests::appTests() } #endif + BasicTestingSetup test{CBaseChainParams::REGTEST}; // Create a temp data directory to backup the gui settings to ECC_Stop(); // Already started by the common test setup, so stop it to avoid interference LogInstance().DisconnectTestLogger(); diff --git a/src/qt/test/paymentservertests.cpp b/src/qt/test/paymentservertests.cpp index a195ad5aa3..67721bb76f 100644 --- a/src/qt/test/paymentservertests.cpp +++ b/src/qt/test/paymentservertests.cpp @@ -13,7 +13,7 @@ #include #include