mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-22 09:12:05 -07:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
41163096e3 | ||
|
|
1b3e1cc293 |
@@ -975,6 +975,7 @@ describe('#Raw-Transactions', () => {
|
||||
// Restore the saved URL.
|
||||
process.env.RPC_BASEURL = savedUrl2
|
||||
})
|
||||
|
||||
it('should submit hex encoded transaction', async () => {
|
||||
// This is a difficult test to run as transaction hex is invalid after a
|
||||
// block confirmation. So the unit tests simulates what the output 'should'
|
||||
@@ -1004,7 +1005,7 @@ describe('#Raw-Transactions', () => {
|
||||
// Integration test
|
||||
} else {
|
||||
assert.hasAllKeys(result, ['error'])
|
||||
assert.include(result.error, 'Missing inputs')
|
||||
assert.include(result.error, 'bad-txns-inputs-missingorspent')
|
||||
}
|
||||
})
|
||||
})
|
||||
@@ -1159,7 +1160,7 @@ describe('#Raw-Transactions', () => {
|
||||
// Integration test
|
||||
} else {
|
||||
assert.hasAllKeys(result, ['error'])
|
||||
assert.include(result.error, 'Missing inputs')
|
||||
assert.include(result.error, 'bad-txns-inputs-missingorspent')
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user