tests: move pwalletMain to wallet test fixture
commit49bd6590feb83ee422e489fd3930e8b700c5b4a7
authorWladimir J. van der Laan <laanwj@gmail.com>
Sat, 18 Nov 2017 13:11:34 +0000 (18 14:11 +0100)
committerWladimir J. van der Laan <laanwj@gmail.com>
Sat, 18 Nov 2017 13:16:38 +0000 (18 14:16 +0100)
tree92f638c4d4a9bb48bfd81b1a543367f24b47bc04
parent49667a77e76aa709717a09916b55ff671e9c6704
tests: move pwalletMain to wallet test fixture

Scope the variable instead of using an external global; this is how test
fixtures are intended to be used.

Followup to #11713.
src/wallet/test/accounting_tests.cpp
src/wallet/test/wallet_test_fixture.cpp
src/wallet/test/wallet_test_fixture.h
src/wallet/test/wallet_tests.cpp