Makes Nearest plugin adhere to v5 spec for precondition violations, fixes #2108

This commit is contained in:
Daniel J. Hofmann
2016-03-18 14:03:55 +01:00
committed by Patrick Niklaus
parent 210da11fbb
commit 9ec46222e3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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()