Refactored app_config unit tests
This commit is contained in:
parent
6242a5478e
commit
0eb28f3124
@ -170,6 +170,8 @@ static void defaults_tests(const json &json_data, provider_type prov) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fmt::println("testing default|{}-{}", app_config::get_provider_name(prov),
|
||||||
|
JSON_API_AUTH);
|
||||||
ASSERT_EQ(std::size_t(default_api_auth_size),
|
ASSERT_EQ(std::size_t(default_api_auth_size),
|
||||||
json_data.at(JSON_API_AUTH).get<std::string>().size());
|
json_data.at(JSON_API_AUTH).get<std::string>().size());
|
||||||
for (const auto &[key, value] : json_defaults.items()) {
|
for (const auto &[key, value] : json_defaults.items()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user