diff --git a/tests/unit/rpc/handlers/AllHandlerTests.cpp b/tests/unit/rpc/handlers/AllHandlerTests.cpp index 62af29969..c0ba97f51 100644 --- a/tests/unit/rpc/handlers/AllHandlerTests.cpp +++ b/tests/unit/rpc/handlers/AllHandlerTests.cpp @@ -50,23 +50,21 @@ #include "util/Assert.hpp" #include "util/HandlerBaseTestFixture.hpp" #include "util/MockAmendmentCenter.hpp" +#include "util/MockCounters.hpp" #include "util/MockCountersFixture.hpp" +#include "util/MockETLService.hpp" #include "util/MockETLServiceTestFixture.hpp" +#include "util/MockLoadBalancer.hpp" #include "util/MockSubscriptionManager.hpp" #include "util/MockWsBase.hpp" #include "util/TestObject.hpp" #include "web/SubscriptionContextInterface.hpp" -#include -#include #include -#include #include -#include #include #include #include -#include #include #include @@ -247,7 +245,7 @@ TYPED_TEST(AllHandlersDeathTest, NoRangeAvailable) // doesn't work without 'this' this->runSpawn( [&](boost::asio::yield_context yield) { - TypeParam handler = this->handler_; + TypeParam const handler = this->handler_; auto const input = createInput(); auto const context = Context{yield, this->session_}; diff --git a/tests/unit/rpc/handlers/LedgerEntryTests.cpp b/tests/unit/rpc/handlers/LedgerEntryTests.cpp index 26099bd68..15b06dc3a 100644 --- a/tests/unit/rpc/handlers/LedgerEntryTests.cpp +++ b/tests/unit/rpc/handlers/LedgerEntryTests.cpp @@ -27,9 +27,6 @@ #include "util/NameGenerator.hpp" #include "util/TestObject.hpp" -#include -#include -#include #include #include #include