style: clang-tidy auto fixes (#2215)

This commit is contained in:
github-actions[bot]
2025-06-12 10:47:34 +01:00
committed by GitHub
parent e44a058b13
commit d0b2a24a30
2 changed files with 2 additions and 2 deletions

View File

@@ -397,7 +397,7 @@ TEST_F(ETLServiceTests, NormalFlowInMonitorSubscription)
service_.run();
systemState_->isWriting = false;
std::vector<data::LedgerObject> dummyDiff = {};
std::vector<data::LedgerObject> const dummyDiff = {};
EXPECT_CALL(*backend_, fetchLedgerDiff(kSEQ + 1, testing::_)).WillOnce(testing::Return(dummyDiff));
EXPECT_CALL(*cacheUpdater_, update(kSEQ + 1, testing::A<std::vector<data::LedgerObject> const&>()));

View File

@@ -143,7 +143,7 @@ TEST_F(MonitorTests, ResumesMonitoringFromNextSequenceAfterWriteConflict)
EXPECT_CALL(*ledgers_, subscribe(testing::_));
{
testing::InSequence seq; // second call will produce conflict
testing::InSequence const seq; // second call will produce conflict
EXPECT_CALL(*backend_, hardFetchLedgerRange(testing::_)).WillOnce(testing::Return(rangeBeforeConflict));
EXPECT_CALL(*backend_, hardFetchLedgerRange(testing::_)).WillRepeatedly(testing::Return(rangeAfterConflict));
}