Enhance AccountTx unit test

This commit is contained in:
Scott Schurr
2019-06-17 17:09:42 -07:00
committed by Nik Bougalis
parent 4900e3081d
commit 28b942b186
10 changed files with 453 additions and 107 deletions

View File

@@ -325,15 +325,7 @@ public:
env(jv);
}
{
Json::Value jv;
jv[sfAccount.jsonName] = Account{"bob6"}.human ();
jv[sfSendMax.jsonName] = "100000000";
jv[sfDestination.jsonName] = Account{"bob7"}.human ();
jv[sfTransactionType.jsonName] = jss::CheckCreate;
jv[sfFlags.jsonName] = tfUniversal;
env(jv);
}
env (check::create ("bob6", "bob7", XRP (100)));
// bob9 DepositPreauths bob4 and bob8.
env (deposit::auth (Account {"bob9"}, Account {"bob4"}));