mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-23 13:15:51 +00:00
@@ -32,8 +32,7 @@ constexpr static auto MAX_API_VERSION = 10u;
|
||||
using namespace rpc::detail;
|
||||
namespace json = boost::json;
|
||||
|
||||
class RPCAPIVersionTest : public NoLoggerFixture
|
||||
{
|
||||
class RPCAPIVersionTest : public NoLoggerFixture {
|
||||
protected:
|
||||
ProductionAPIVersionParser parser{DEFAULT_API_VERSION, MIN_API_VERSION, MAX_API_VERSION};
|
||||
};
|
||||
@@ -102,7 +101,8 @@ TEST_F(RPCAPIVersionTest, GetsValuesFromConfigCorrectly)
|
||||
}})",
|
||||
MIN_API_VERSION,
|
||||
MAX_API_VERSION,
|
||||
DEFAULT_API_VERSION))};
|
||||
DEFAULT_API_VERSION
|
||||
))};
|
||||
|
||||
ProductionAPIVersionParser const configuredParser{cfg};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user