diff --git a/unit_tests/library/nearest.cpp b/unit_tests/library/nearest.cpp index b56f0f7c4..1685d94fa 100644 --- a/unit_tests/library/nearest.cpp +++ b/unit_tests/library/nearest.cpp @@ -30,7 +30,7 @@ BOOST_AUTO_TEST_CASE(test_nearest_response) BOOST_REQUIRE(rc == Status::Ok); const auto code = result.values.at("code").get().value; - BOOST_CHECK_EQUAL(code, "ok"); + BOOST_CHECK_EQUAL(code, "Ok"); const auto &waypoints = result.values.at("waypoints").get().values; BOOST_CHECK(!waypoints.empty()); // the dataset has at least one nearest coordinate @@ -97,7 +97,7 @@ BOOST_AUTO_TEST_CASE(test_nearest_response_for_location_in_small_component) BOOST_REQUIRE(rc == Status::Ok); const auto code = result.values.at("code").get().value; - BOOST_CHECK_EQUAL(code, "ok"); + BOOST_CHECK_EQUAL(code, "Ok"); const auto &waypoints = result.values.at("waypoints").get().values; BOOST_CHECK(!waypoints.empty()); diff --git a/unit_tests/library/route.cpp b/unit_tests/library/route.cpp index e93cebaf0..40f8306e6 100644 --- a/unit_tests/library/route.cpp +++ b/unit_tests/library/route.cpp @@ -32,7 +32,7 @@ BOOST_AUTO_TEST_CASE(test_route_same_coordinates_fixture) BOOST_CHECK(rc == Status::Ok); json::Object reference{ - {{"code", "ok"}, + {{"code", "Ok"}, {"waypoints", json::Array{{json::Object{{{"name", ""}, {"location", json::Array{}}, {"hint", ""}}}, json::Object{{{"name", ""}, {"location", json::Array{}}, {"hint", ""}}}}}}, @@ -79,7 +79,7 @@ BOOST_AUTO_TEST_CASE(test_route_same_coordinates) BOOST_CHECK(rc == Status::Ok); const auto code = result.values.at("code").get().value; - BOOST_CHECK_EQUAL(code, "ok"); + BOOST_CHECK_EQUAL(code, "Ok"); const auto &waypoints = result.values.at("waypoints").get().values; BOOST_CHECK(waypoints.size() == params.coordinates.size()); @@ -209,7 +209,7 @@ BOOST_AUTO_TEST_CASE(test_route_response_for_locations_in_small_component) BOOST_CHECK(rc == Status::Ok); const auto code = result.values.at("code").get().value; - BOOST_CHECK_EQUAL(code, "ok"); + BOOST_CHECK_EQUAL(code, "Ok"); const auto &waypoints = result.values.at("waypoints").get().values; BOOST_CHECK_EQUAL(waypoints.size(), params.coordinates.size());