diff options
| author | Wladimir J. van der Laan <[email protected]> | 2015-03-09 16:04:43 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-03-09 16:06:14 +0100 |
| commit | 59bd89f11636e90b2d684e8f411d8d7a88622458 (patch) | |
| tree | 8c01545831dd3ba1701f584adacfbc2a6b992a9b /src/test/test_bitcoin.cpp | |
| parent | tests: change main and wallet tests to BOOST_FIXTURE_TEST_SUITE (diff) | |
| download | discoin-59bd89f11636e90b2d684e8f411d8d7a88622458.tar.xz discoin-59bd89f11636e90b2d684e8f411d8d7a88622458.zip | |
test: Remove UNITTEST params
UNITTEST parameter are not used by any current tests, and the model
(modifyable parameters) is inconvenient when unit-testing. As
they are stored in a global structure eevery test
would have to (re)set up its own parameters.
For consistency it is also better to test with MAIN parameters.
Diffstat (limited to 'src/test/test_bitcoin.cpp')
| -rw-r--r-- | src/test/test_bitcoin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp index 5df417b8e..a1355ad44 100644 --- a/src/test/test_bitcoin.cpp +++ b/src/test/test_bitcoin.cpp @@ -29,7 +29,7 @@ extern void noui_connect(); TestingSetup::TestingSetup() { fPrintToDebugLog = false; // don't want to write to debug.log file - SelectParams(CBaseChainParams::UNITTEST); + SelectParams(CBaseChainParams::MAIN); noui_connect(); #ifdef ENABLE_WALLET bitdb.MakeMock(); |