mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-20 11:45:53 +00:00
@@ -18,7 +18,7 @@
|
||||
//==============================================================================
|
||||
|
||||
#include <rpc/common/AnyHandler.h>
|
||||
#include <rpc/ngHandlers/Ledger.h>
|
||||
#include <rpc/handlers/Ledger.h>
|
||||
#include <util/Fixtures.h>
|
||||
#include <util/TestObject.h>
|
||||
|
||||
@@ -33,7 +33,7 @@ constexpr static auto INDEX2 = "1B8590C01B0006EDFA9ED60296DD052DC5E90F99659B2501
|
||||
constexpr static auto RANGEMIN = 10;
|
||||
constexpr static auto RANGEMAX = 30;
|
||||
|
||||
using namespace RPCng;
|
||||
using namespace RPC;
|
||||
namespace json = boost::json;
|
||||
using namespace testing;
|
||||
|
||||
@@ -170,7 +170,6 @@ TEST_P(LedgerParameterTest, InvalidParams)
|
||||
auto const output = handler.process(req, Context{std::ref(yield)});
|
||||
ASSERT_FALSE(output);
|
||||
auto const err = RPC::makeError(output.error());
|
||||
std::cout << err << std::endl;
|
||||
EXPECT_EQ(err.at("error").as_string(), testBundle.expectedError);
|
||||
EXPECT_EQ(err.at("error_message").as_string(), testBundle.expectedErrorMessage);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user