mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-27 23:25:53 +00:00
fix: Keep spdlog loggers valid between tests (#2614)
This commit is contained in:
@@ -50,7 +50,7 @@ constinit auto const kLEDGER_HASH2 = "1B8590C01B0006EDFA9ED60296DD052DC5E90F9965
|
||||
constinit auto const kSEQ = 30;
|
||||
} // namespace
|
||||
|
||||
struct ExtractionModelNgTests : NoLoggerFixture {};
|
||||
struct ExtractionModelNgTests : virtual public ::testing::Test {};
|
||||
|
||||
TEST_F(ExtractionModelNgTests, LedgerDataCopyableAndEquatable)
|
||||
{
|
||||
@@ -178,7 +178,7 @@ TEST_F(ExtractionModelNgTests, BookSuccessorCopyableAndEquatable)
|
||||
}
|
||||
}
|
||||
|
||||
struct ExtractionNgTests : NoLoggerFixture {};
|
||||
struct ExtractionNgTests : public virtual ::testing::Test {};
|
||||
|
||||
TEST_F(ExtractionNgTests, ModType)
|
||||
{
|
||||
@@ -360,7 +360,7 @@ TEST_F(ExtractionNgTests, SuccessorsWithNoNeighborsIncluded)
|
||||
ASSERT_FALSE(res.has_value());
|
||||
}
|
||||
|
||||
struct ExtractionAssertTest : common::util::WithMockAssert, NoLoggerFixture {};
|
||||
struct ExtractionAssertTest : common::util::WithMockAssert {};
|
||||
|
||||
TEST_F(ExtractionAssertTest, InvalidModTypeAsserts)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user