mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
UT: Add test for send_xns.
This commit is contained in:
@@ -52,6 +52,7 @@ Server.method('serverSpawnSync', function() {
|
|||||||
config.newcoind,
|
config.newcoind,
|
||||||
[
|
[
|
||||||
"-a",
|
"-a",
|
||||||
|
"-v",
|
||||||
"--conf=newcoind.cfg"
|
"--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
|
// vim:sw=2:sts=2:ts=8
|
||||||
|
|||||||
Reference in New Issue
Block a user