mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Merge branch 'bthomee/rename_definitions' into bthomee/rename_copyright
This commit is contained in:
@@ -313,23 +313,6 @@ class Feature_test : public beast::unit_test::suite
|
||||
result[jss::error_message] ==
|
||||
"You don't have permission for this command.");
|
||||
}
|
||||
|
||||
{
|
||||
std::string const feature =
|
||||
"C4483A1896170C66C098DEA5B0E024309C60DC960DE5F01CD7AF986AA3D9AD"
|
||||
"37";
|
||||
Json::Value params;
|
||||
params[jss::feature] = feature;
|
||||
auto const result =
|
||||
env.rpc("json", "feature", to_string(params))[jss::result];
|
||||
BEAST_EXPECT(result.isMember(feature));
|
||||
auto const amendmentResult = result[feature];
|
||||
BEAST_EXPECT(amendmentResult[jss::enabled].asBool() == false);
|
||||
BEAST_EXPECT(amendmentResult[jss::supported].asBool() == true);
|
||||
BEAST_EXPECT(
|
||||
amendmentResult[jss::name].asString() ==
|
||||
"fixMasterKeyAsRegularKey");
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user