mirror of
https://github.com/XRPLF/clio.git
synced 2026-07-26 08:30:24 +00:00
chore: Update libxrpl to 3.2.0 (#3114)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#include <boost/beast/http/field.hpp>
|
||||
#include <boost/beast/http/message.hpp>
|
||||
#include <boost/beast/http/status.hpp>
|
||||
#include <boost/beast/http/string_body.hpp>
|
||||
#include <boost/beast/http/string_body_fwd.hpp>
|
||||
#include <boost/beast/http/verb.hpp>
|
||||
#include <boost/json/object.hpp>
|
||||
#include <boost/json/parse.hpp>
|
||||
@@ -75,7 +75,7 @@ INSTANTIATE_TEST_CASE_P(
|
||||
NgErrorHandlingMakeErrorTestBundle{
|
||||
"WsRequest",
|
||||
false,
|
||||
rpc::Status{rpc::RippledError::rpcTOO_BUSY},
|
||||
rpc::Status{rpc::RippledError::RpcTooBusy},
|
||||
R"JSON({"error":"tooBusy","error_code":9,"error_message":"The server is too busy to help you now.","status":"error","type":"response"})JSON",
|
||||
boost::beast::http::status::ok
|
||||
},
|
||||
@@ -117,7 +117,7 @@ INSTANTIATE_TEST_CASE_P(
|
||||
NgErrorHandlingMakeErrorTestBundle{
|
||||
"HttpRequest_RippledError",
|
||||
true,
|
||||
rpc::Status{rpc::RippledError::rpcTOO_BUSY},
|
||||
rpc::Status{rpc::RippledError::RpcTooBusy},
|
||||
R"JSON({"result":{"error":"tooBusy","error_code":9,"error_message":"The server is too busy to help you now.","status":"error","type":"response"}})JSON",
|
||||
boost::beast::http::status::bad_request
|
||||
},
|
||||
@@ -301,7 +301,7 @@ TEST_P(NgErrorHandlingComposeErrorTest, ComposeError)
|
||||
{
|
||||
auto const request = makeRequest(GetParam().isHttp);
|
||||
ErrorHelper const errorHelper{request, GetParam().request};
|
||||
auto const response = errorHelper.composeError(rpc::Status{rpc::RippledError::rpcINTERNAL});
|
||||
auto const response = errorHelper.composeError(rpc::Status{rpc::RippledError::RpcInternal});
|
||||
EXPECT_EQ(boost::json::serialize(response), GetParam().expectedMessage);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user