test: [refactor] Pass TestOpts

This commit is contained in:
MarcoFalke
2024-07-08 15:45:56 +02:00
parent bd5d1688b4
commit fa690c8e53
13 changed files with 40 additions and 41 deletions

View File

@@ -23,8 +23,8 @@ class EnvTestingSetup : public BasicTestingSetup
{
public:
explicit EnvTestingSetup(const ChainType chainType = ChainType::MAIN,
const std::vector<const char*>& extra_args = {})
: BasicTestingSetup{chainType, extra_args},
TestOpts opts = {})
: BasicTestingSetup{chainType, opts},
m_prev_log_level{LogInstance().LogLevel()},
m_create_sock_orig{CreateSock}
{