mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-28 15:45:52 +00:00
committed by
GitHub
parent
7bef13f913
commit
c41399ef8e
@@ -42,7 +42,6 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
||||
@@ -133,8 +133,8 @@ TEST_F(ResponseTest, asConstBufferJson)
|
||||
|
||||
TEST_F(ResponseTest, createFromStringAndConnection)
|
||||
{
|
||||
util::TagDecoratorFactory tagDecoratorFactory{util::Config{}};
|
||||
StrictMockConnection connection{"some ip", boost::beast::flat_buffer{}, tagDecoratorFactory};
|
||||
util::TagDecoratorFactory const tagDecoratorFactory{util::Config{}};
|
||||
StrictMockConnection const connection{"some ip", boost::beast::flat_buffer{}, tagDecoratorFactory};
|
||||
std::string const responseMessage = "response message";
|
||||
|
||||
EXPECT_CALL(connection, wasUpgraded()).WillOnce(testing::Return(false));
|
||||
@@ -150,8 +150,8 @@ TEST_F(ResponseTest, createFromStringAndConnection)
|
||||
|
||||
TEST_F(ResponseTest, createFromJsonAndConnection)
|
||||
{
|
||||
util::TagDecoratorFactory tagDecoratorFactory{util::Config{}};
|
||||
StrictMockConnection connection{"some ip", boost::beast::flat_buffer{}, tagDecoratorFactory};
|
||||
util::TagDecoratorFactory const tagDecoratorFactory{util::Config{}};
|
||||
StrictMockConnection const connection{"some ip", boost::beast::flat_buffer{}, tagDecoratorFactory};
|
||||
boost::json::object const responseMessage{{"key", "value"}};
|
||||
|
||||
EXPECT_CALL(connection, wasUpgraded()).WillOnce(testing::Return(false));
|
||||
|
||||
Reference in New Issue
Block a user