mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-06 17:27:58 +00:00
style: Update pre-commit hooks (#2290)
Update versions of pre-commit hooks to latest version. Co-authored-by: mathbunnyru <12270691+mathbunnyru@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
1fe323190a
commit
cc506fd094
@@ -160,13 +160,17 @@ TEST_F(SettingsProviderTest, SecureBundleConfig)
|
||||
TEST_F(SettingsProviderTest, CertificateConfig)
|
||||
{
|
||||
TmpFile const file{"certificateData"};
|
||||
auto const cfg = getParseSettingsConfig(json::parse(fmt::format(
|
||||
R"JSON({{
|
||||
auto const cfg = getParseSettingsConfig(
|
||||
json::parse(
|
||||
fmt::format(
|
||||
R"JSON({{
|
||||
"database.cassandra.contact_points": "127.0.0.1",
|
||||
"database.cassandra.certfile": "{}"
|
||||
}})JSON",
|
||||
file.path
|
||||
)));
|
||||
file.path
|
||||
)
|
||||
)
|
||||
);
|
||||
SettingsProvider const provider{cfg.getObject("database.cassandra")};
|
||||
|
||||
auto const settings = provider.getSettings();
|
||||
|
||||
Reference in New Issue
Block a user