Refactored app_config unit tests
This commit is contained in:
parent
7f957c04dd
commit
e8365f4896
@ -201,7 +201,7 @@ static void common_tests(app_config &config, provider_type prov) {
|
||||
EXPECT_STREQ("test2", value.c_str());
|
||||
}},
|
||||
{JSON_API_PORT,
|
||||
[](const app_config &cfg) {
|
||||
[](app_config &cfg) {
|
||||
cfg.set_api_port(0U);
|
||||
EXPECT_EQ(std::uint16_t(0U), cfg.get_api_port());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user