mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 18:45:52 +00:00
UT: Add test for send_xns.
This commit is contained in:
@@ -52,6 +52,7 @@ Server.method('serverSpawnSync', function() {
|
||||
config.newcoind,
|
||||
[
|
||||
"-a",
|
||||
"-v",
|
||||
"--conf=newcoind.cfg"
|
||||
],
|
||||
{
|
||||
|
||||
@@ -184,6 +184,16 @@ buster.testCase("Websocket commands", {
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
'create account' :
|
||||
function (done) {
|
||||
alpha.send_xns(undefined, 'root', 'alice', 10000, true, function (r) {
|
||||
console.log(r);
|
||||
|
||||
buster.refute(r.error);
|
||||
done();
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
// vim:sw=2:sts=2:ts=8
|
||||
|
||||
Reference in New Issue
Block a user