From 7d6b2e76d27d4cfa6c0ca29ab29c99aa0802d510 Mon Sep 17 00:00:00 2001 From: Denis Angell Date: Fri, 11 Apr 2025 10:45:46 +0200 Subject: [PATCH] remove info log from catalogue tests --- src/test/rpc/Catalogue_test.cpp | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) 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() /