mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-20 11:45:53 +00:00
test: Remove SetUp and TearDown methods in tests (#2086)
Fix: https://github.com/XRPLF/clio/issues/910
This commit is contained in:
@@ -60,8 +60,7 @@ struct ETLTransformerTest : util::prometheus::WithPrometheus, MockBackendTest {
|
||||
using TransformerType = etl::impl::
|
||||
Transformer<ExtractionDataPipeType, LedgerLoaderType, LedgerPublisherType, AmendmentBlockHandlerType>;
|
||||
|
||||
void
|
||||
SetUp() override
|
||||
ETLTransformerTest()
|
||||
{
|
||||
state_.isStopping = false;
|
||||
state_.writeConflict = false;
|
||||
@@ -69,12 +68,6 @@ struct ETLTransformerTest : util::prometheus::WithPrometheus, MockBackendTest {
|
||||
state_.isWriting = false;
|
||||
}
|
||||
|
||||
void
|
||||
TearDown() override
|
||||
{
|
||||
transformer_.reset();
|
||||
}
|
||||
|
||||
protected:
|
||||
ExtractionDataPipeType dataPipe_;
|
||||
LedgerLoaderType ledgerLoader_;
|
||||
|
||||
Reference in New Issue
Block a user