diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-04-18 14:54:57 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-04-18 14:57:42 +0200 |
commit | f4eae2d910d9edb3750efec4facbeab161cce593 (patch) | |
tree | a01442d5df233ef117344574aa80529b5aded4ec /src/wallet/test/rpc_wallet_tests.cpp | |
parent | de39c95c2468cc643a5d5bed9e5dd8cea6a40747 (diff) |
test: Create test fixture for wallet
Removes all the `#ifdef ENABLE_WALLET` from `test_bitcoin` by
making the wallet tests use their own fixture.
Diffstat (limited to 'src/wallet/test/rpc_wallet_tests.cpp')
-rw-r--r-- | src/wallet/test/rpc_wallet_tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/test/rpc_wallet_tests.cpp b/src/wallet/test/rpc_wallet_tests.cpp index 3443be2093..4e7d177f51 100644 --- a/src/wallet/test/rpc_wallet_tests.cpp +++ b/src/wallet/test/rpc_wallet_tests.cpp @@ -9,7 +9,7 @@ #include "main.h" #include "wallet/wallet.h" -#include "test/test_bitcoin.h" +#include "wallet/test/wallet_test_fixture.h" #include <boost/algorithm/string.hpp> #include <boost/test/unit_test.hpp> @@ -23,7 +23,7 @@ extern UniValue CallRPC(string args); extern CWallet* pwalletMain; -BOOST_FIXTURE_TEST_SUITE(rpc_wallet_tests, TestingSetup) +BOOST_FIXTURE_TEST_SUITE(rpc_wallet_tests, WalletTestingSetup) BOOST_AUTO_TEST_CASE(rpc_addmultisig) { |