mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-28 23:55:52 +00:00
fix: Keep spdlog loggers valid between tests (#2614)
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
#include <memory>
|
||||
|
||||
template <template <typename> typename MockType = ::testing::NiceMock>
|
||||
struct MockMigrationBackendTestBase : virtual public NoLoggerFixture {
|
||||
struct MockMigrationBackendTestBase : virtual public ::testing::Test {
|
||||
class BackendProxy {
|
||||
std::shared_ptr<MockType<MockMigrationBackend>> backend_ =
|
||||
std::make_shared<MockType<MockMigrationBackend>>(util::config::ClioConfigDefinition{});
|
||||
|
||||
Reference in New Issue
Block a user