mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-06 17:27:58 +00:00
@@ -32,7 +32,7 @@ TEST_F(RPCPingHandlerTest, Default)
|
||||
{
|
||||
runSpawn([](auto yield) {
|
||||
auto const handler = AnyHandler{PingHandler{}};
|
||||
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_EQ(output.value(), boost::json::parse(R"({})"));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user