mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Get names of transactions and ledger types from jss
This commit is contained in:
committed by
Manoj doshi
parent
be139d9bde
commit
b39b0fef39
@@ -208,7 +208,7 @@ class NoRippleCheck_test : public beast::unit_test::suite
|
||||
if (! user)
|
||||
{
|
||||
BEAST_EXPECT (txs[0u][jss::Account] == alice.human());
|
||||
BEAST_EXPECT (txs[0u][jss::TransactionType] == "AccountSet");
|
||||
BEAST_EXPECT (txs[0u][jss::TransactionType] == jss::AccountSet);
|
||||
}
|
||||
|
||||
BEAST_EXPECT (
|
||||
@@ -216,7 +216,7 @@ class NoRippleCheck_test : public beast::unit_test::suite
|
||||
alice.human());
|
||||
BEAST_EXPECT (
|
||||
result[jss::transactions][txs.size()-1][jss::TransactionType] ==
|
||||
"TrustSet");
|
||||
jss::TrustSet);
|
||||
BEAST_EXPECT (
|
||||
result[jss::transactions][txs.size()-1][jss::LimitAmount] ==
|
||||
gw["USD"](100).value ().getJson (0));
|
||||
|
||||
Reference in New Issue
Block a user