chore: Fixes after tidy v22 update (#3108)

This commit is contained in:
Ayaz Salikhov
2026-06-17 11:33:39 +01:00
committed by GitHub
parent fa057bd876
commit 52af23fe77
30 changed files with 39 additions and 59 deletions

View File

@@ -712,7 +712,7 @@ TEST_F(WebServerTest, AdminErrorCfgTestBothAdminPasswordAndLocalAdminSet)
boost::json::parse(jsonServerConfigWithBothAdminPasswordAndLocalAdmin)
)};
MockLedgerCache cache;
MockLedgerCache const cache;
auto const result = web::makeHttpServer(serverConfig, ctx, dosGuardOverload, e, cache);
EXPECT_FALSE(result.has_value());
}
@@ -736,7 +736,7 @@ TEST_F(WebServerTest, AdminErrorCfgTestBothAdminPasswordAndLocalAdminFalse)
boost::json::parse(jsonServerConfigWithNoAdminPasswordAndLocalAdminFalse)
)};
MockLedgerCache cache;
MockLedgerCache const cache;
auto const result = web::makeHttpServer(serverConfig, ctx, dosGuardOverload, e, cache);
EXPECT_FALSE(result.has_value());
}