fix naming of URIToken jss, change IOUEscrow and URIToken to default no

This commit is contained in:
Richard Holland
2023-03-13 10:40:34 +00:00
parent b35c23bf90
commit cd8faf611c
2 changed files with 4 additions and 4 deletions

View File

@@ -1250,7 +1250,7 @@ class LedgerRPC_test : public beast::unit_test::suite
{
// Request the uritoken using its index.
Json::Value jvParams;
jvParams[jss::uri_token] = to_string(uritokenIndex);
jvParams[jss::URIToken] = to_string(uritokenIndex);
jvParams[jss::ledger_hash] = ledgerHash;
Json::Value const jrr = env.rpc("json", "ledger_entry", to_string(jvParams))[jss::result];
BEAST_EXPECT(jrr[jss::node][sfOwner.jsonName] == alice.human());
@@ -1260,7 +1260,7 @@ class LedgerRPC_test : public beast::unit_test::suite
{
// Request an index that is not a uritoken.
Json::Value jvParams;
jvParams[jss::uri_token] = ledgerHash;
jvParams[jss::URIToken] = ledgerHash;
jvParams[jss::ledger_hash] = ledgerHash;
Json::Value const jrr = env.rpc(
"json", "ledger_entry", to_string(jvParams))[jss::result];