diff --git a/src/test/rpc/Catalogue_test.cpp b/src/test/rpc/Catalogue_test.cpp index df326b1f3..4a1ef0e64 100644 --- a/src/test/rpc/Catalogue_test.cpp +++ b/src/test/rpc/Catalogue_test.cpp @@ -101,8 +101,7 @@ class Catalogue_test : public beast::unit_test::suite { testcase("catalogue_create: Invalid parameters"); using namespace test::jtx; - Env env{ - *this, envconfig(), features, nullptr, beast::severities::kInfo}; + Env env{*this, envconfig(), features}; // No parameters { @@ -177,8 +176,7 @@ class Catalogue_test : public beast::unit_test::suite using namespace test::jtx; // Create environment and some test ledgers - Env env{ - *this, envconfig(), features, nullptr, beast::severities::kInfo}; + Env env{*this, envconfig(), features}; prepareLedgerData(env, 5); boost::filesystem::path tempDir = @@ -216,8 +214,7 @@ class Catalogue_test : public beast::unit_test::suite { testcase("catalogue_load: Invalid parameters"); using namespace test::jtx; - Env env{ - *this, envconfig(), features, nullptr, beast::severities::kInfo}; + Env env{*this, envconfig(), features}; // No parameters { @@ -264,8 +261,7 @@ class Catalogue_test : public beast::unit_test::suite using namespace test::jtx; // Create environment and test data - Env env{ - *this, envconfig(), features, nullptr, beast::severities::kInfo}; + Env env{*this, envconfig(), features}; prepareLedgerData(env, 5); // Store some key state information before catalogue creation @@ -567,8 +563,7 @@ class Catalogue_test : public beast::unit_test::suite using namespace test::jtx; // Create environment and test data - Env env{ - *this, envconfig(), features, nullptr, beast::severities::kInfo}; + Env env{*this, envconfig(), features}; prepareLedgerData(env, 3); boost::filesystem::path tempDir = @@ -659,8 +654,7 @@ class Catalogue_test : public beast::unit_test::suite using namespace test::jtx; // Create environment and test data - Env env{ - *this, envconfig(), features, nullptr, beast::severities::kInfo}; + Env env{*this, envconfig(), features}; prepareLedgerData(env, 3); boost::filesystem::path tempDir = @@ -732,8 +726,7 @@ class Catalogue_test : public beast::unit_test::suite using namespace test::jtx; // Create environment and test data - Env env{ - *this, envconfig(), features, nullptr, beast::severities::kInfo}; + Env env{*this, envconfig(), features}; prepareLedgerData(env, 5); boost::filesystem::path tempDir = @@ -818,8 +811,7 @@ class Catalogue_test : public beast::unit_test::suite using namespace test::jtx; // Create environment - Env env{ - *this, envconfig(), features, nullptr, beast::severities::kInfo}; + Env env{*this, envconfig(), features}; boost::filesystem::path tempDir = boost::filesystem::temp_directory_path() /