Makes Nearest plugin adhere to v5 spec for precondition violations, fixes #2108
This commit is contained in:
committed by
Patrick Niklaus
parent
665f93c92f
commit
de1f1b8ab3
@@ -75,7 +75,7 @@ BOOST_AUTO_TEST_CASE(test_nearest_response_multiple_coordinates)
|
||||
BOOST_REQUIRE(rc == Status::Error);
|
||||
|
||||
const auto code = result.values.at("code").get<json::String>().value;
|
||||
BOOST_CHECK_EQUAL(code, "TooBig");
|
||||
BOOST_CHECK_EQUAL(code, "InvalidOptions");
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_SUITE_END()
|
||||
|
||||
Reference in New Issue
Block a user