mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 12:15:51 +00:00
change snake_case to camelCase in responses from api.submit and api.getServerInfo and add schema for it
This commit is contained in:
@@ -162,7 +162,7 @@ describe('RippleAPI', function() {
|
||||
|
||||
it('submit', function(done) {
|
||||
this.api.submit(responses.sign.signedTransaction,
|
||||
_.partial(checkResult, responses.submit, null, done));
|
||||
_.partial(checkResult, responses.submit, 'submit', done));
|
||||
});
|
||||
|
||||
it('getBalances', function(done) {
|
||||
@@ -478,7 +478,7 @@ describe('RippleAPI', function() {
|
||||
|
||||
it('getServerInfo', function(done) {
|
||||
this.api.getServerInfo(
|
||||
_.partial(checkResult, responses.getServerInfo, null, done));
|
||||
_.partial(checkResult, responses.getServerInfo, 'getServerInfo', done));
|
||||
});
|
||||
|
||||
it('getServerInfo - error', function(done) {
|
||||
|
||||
Reference in New Issue
Block a user