test: use common setup in gui tests

This commit is contained in:
MarcoFalke
2019-05-28 14:34:50 -04:00
parent fad3d2a624
commit fa4a04a5a9
2 changed files with 5 additions and 11 deletions

View File

@@ -5,6 +5,7 @@
#include <qt/test/apptests.h>
#include <chainparams.h>
#include <key.h>
#include <qt/bitcoin.h>
#include <qt/bitcoingui.h>
#include <qt/networkstyle.h>
@@ -62,6 +63,7 @@ void AppTests::appTests()
}
#endif
ECC_Stop(); // Already started by the common test setup, so stop it to avoid interference
m_app.parameterSetup();
m_app.createOptionsModel(true /* reset settings */);
QScopedPointer<const NetworkStyle> style(