qt: test: Create at most one testing setup

This commit is contained in:
MarcoFalke
2019-06-26 16:42:33 -04:00
parent 7400135b79
commit faa1e0fb17
5 changed files with 14 additions and 11 deletions

View File

@@ -73,7 +73,6 @@ TestingSetup::TestingSetup(const std::string& chainName) : BasicTestingSetup(cha
const CChainParams& chainparams = Params();
// Ideally we'd move all the RPC tests to the functional testing framework
// instead of unit tests, but for now we need these here.
RegisterAllCoreRPCCommands(tableRPC);
// We have to run a scheduler thread to prevent ActivateBestChain