mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Update tests to support latest ripple-lib:
* Update ripple-lib api usage * Use latest npm ripple-lib * Tested with bignumber.js branch and tip of develop * Use new version of coffee-script * Better source maps * Update mocha * Add assert-diff for better error reporting * Add rconsole, enabled via USE_RCONSOLE env var * For use with manual installation only
This commit is contained in:
committed by
Nik Bougalis
parent
44450bf644
commit
4dc2cf8a6b
@@ -188,7 +188,8 @@ config = testutils.init_config()
|
||||
#################################### HELPERS ###################################
|
||||
|
||||
get_lines = (remote, acc, done) ->
|
||||
remote.request_account_lines acc, null, 'validated', (err, lines) ->
|
||||
args = {account: acc, ledger: 'validated'}
|
||||
remote.request_account_lines args, (err, lines) ->
|
||||
done(lines)
|
||||
|
||||
account_set_factory = (remote, ledger, alias_for) ->
|
||||
@@ -844,7 +845,7 @@ execute_if_enabled (suite, enforced) ->
|
||||
|
||||
test_if enforced, 'offer was removed by offer_create', (done) ->
|
||||
args = { account: 'A4', ledger: 'validated' }
|
||||
|
||||
|
||||
remote.request_account_offers args, (err, res) ->
|
||||
assert res.offers.length == 0
|
||||
done()
|
||||
Reference in New Issue
Block a user