chore(unit_tests,userspace): use nlhomann json instead of jsoncpp.

Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
This commit is contained in:
Federico Di Pierro
2024-08-21 16:41:27 +02:00
committed by poiana
parent be927edfe8
commit d1c715e7a8
5 changed files with 12 additions and 14 deletions

View File

@@ -108,7 +108,7 @@ TEST(Configuration, schema_yaml_helper_validator)
// We pass a string variable but not a schema
std::string validation;
EXPECT_NO_THROW(conf.load_from_string(sample_yaml, Json::Value{}, &validation));
EXPECT_NO_THROW(conf.load_from_string(sample_yaml, nlohmann::json{}, &validation));
EXPECT_EQ(validation, yaml_helper::validation_none);
// We pass a schema but not a string storage for the validation; no validation takes place