Page MenuHomePhabricator

tests: move pwalletMain to wallet test fixture
ClosedPublic

Authored by Fabien on May 23 2019, 13:04.

Details

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

Followup to #11713.

Backport of core PR11718
https://github.com/bitcoin/bitcoin/pull/11718/files

Depends on D3097
Completes T659

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable