fix: remove response.status from returned object (#1698)

* remove response.status

* fix unit tests

* fix integration tests

* remove now-unneeded helper method

* fix rename
This commit is contained in:
Mayukha Vadari
2021-10-06 18:13:27 -04:00
committed by GitHub
parent 5e515a9105
commit 0674d21134
31 changed files with 110 additions and 83 deletions

View File

@@ -31,10 +31,8 @@ describe('account_offers', function () {
offers: [],
validated: false,
},
status: 'success',
type: 'response',
}
assert.equal(response.status, expected.status)
assert.equal(response.type, expected.type)
assert.equal(typeof response.result.ledger_current_index, 'number')
assert.deepEqual(