mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-06 17:27:58 +00:00
@@ -32,7 +32,7 @@ TEST_F(RPCRandomHandlerTest, Default)
|
||||
{
|
||||
runSpawn([](auto yield) {
|
||||
auto const handler = AnyHandler{RandomHandler{}};
|
||||
auto const output = handler.process(boost::json::parse(R"({})"), Context{std::ref(yield)});
|
||||
auto const output = handler.process(boost::json::parse(R"({})"), Context{yield});
|
||||
ASSERT_TRUE(output);
|
||||
EXPECT_TRUE(output->as_object().contains(JS(random)));
|
||||
EXPECT_EQ(output->as_object().at(JS(random)).as_string().size(), 64u);
|
||||
|
||||
Reference in New Issue
Block a user