mirror of
https://github.com/XRPLF/clio.git
synced 2026-06-08 11:16:45 +00:00
chore: Use libxrpl 3.2.0 (#3095)
This commit is contained in:
@@ -64,7 +64,7 @@ TEST_P(ErrorHandlingComposeErrorTest, composeError)
|
||||
{
|
||||
connection_->upgraded = GetParam().connectionUpgraded;
|
||||
ErrorHelper const errorHelper{connection_, GetParam().request};
|
||||
auto const result = errorHelper.composeError(rpc::RippledError::rpcNOT_READY);
|
||||
auto const result = errorHelper.composeError(rpc::RippledError::RpcNotReady);
|
||||
EXPECT_EQ(boost::json::serialize(result), boost::json::serialize(GetParam().expectedResult));
|
||||
}
|
||||
|
||||
@@ -150,7 +150,7 @@ INSTANTIATE_TEST_CASE_P(
|
||||
ErrorHandlingSendErrorTestBundle{
|
||||
"UpgradedConnection",
|
||||
true,
|
||||
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
|
||||
},
|
||||
@@ -192,7 +192,7 @@ INSTANTIATE_TEST_CASE_P(
|
||||
ErrorHandlingSendErrorTestBundle{
|
||||
"NotUpgradedConnection_RippledError",
|
||||
false,
|
||||
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
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user