diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-04-18 14:54:57 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-04-18 14:57:42 +0200 |
| commit | f4eae2d910d9edb3750efec4facbeab161cce593 (patch) | |
| tree | a01442d5df233ef117344574aa80529b5aded4ec /src/wallet/test/rpc_wallet_tests.cpp | |
| parent | test: move accounting_tests and rpc_wallet_tests to wallet/test (diff) | |
| download | discoin-f4eae2d910d9edb3750efec4facbeab161cce593.tar.xz discoin-f4eae2d910d9edb3750efec4facbeab161cce593.zip | |
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 3443be209..4e7d177f5 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) { |