Enable testing beta RPC API version with config

This commit is contained in:
Peng Wang
2020-06-23 17:47:19 -04:00
committed by manojsdoshi
parent 7717056cf2
commit 2eb1c6a396
21 changed files with 230 additions and 138 deletions

View File

@@ -299,7 +299,7 @@ public:
env.timeKeeper().adjustCloseTime(weeks{3});
result = env.rpc("ledger_request", "1")[jss::result];
BEAST_EXPECT(result[jss::status] == "error");
if (RPC::ApiMaximumSupportedVersion == 1)
if (RPC::apiMaximumSupportedVersion == 1)
{
BEAST_EXPECT(result[jss::error] == "noCurrent");
BEAST_EXPECT(