remove info log from catalogue tests

This commit is contained in:
Denis Angell
2025-04-11 10:45:46 +02:00
parent ab38e48fff
commit 7d6b2e76d2

View File

@@ -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() /