test: Create data dir in BasicTestingSetup

This commit is contained in:
MarcoFalke
2019-06-19 17:52:35 -04:00
parent b1344eac5f
commit fad3d2a624
11 changed files with 28 additions and 42 deletions

View File

@@ -192,7 +192,7 @@ BOOST_FIXTURE_TEST_CASE(importwallet_rescan, TestChain100Setup)
auto locked_chain = chain->lock();
LockAssertion lock(::cs_main);
std::string backup_file = (SetDataDir("importwallet_rescan") / "wallet.backup").string();
std::string backup_file = (GetDataDir() / "wallet.backup").string();
// Import key into wallet and call dumpwallet to create backup file.
{