Update test
This commit is contained in:
parent
d35b1327cc
commit
aea6be0b92
|
@ -121,12 +121,14 @@ class ClientTest: XCTestCase {
|
|||
}
|
||||
let trx = API.BroadcastTransaction(transaction: stx)
|
||||
client.send(trx) { res, error in
|
||||
XCTAssertNil(error)
|
||||
if let res = res {
|
||||
XCTAssertFalse(res.expired)
|
||||
XCTAssert(res.blockNum > props.headBlockId.num)
|
||||
} else {
|
||||
XCTFail("No response")
|
||||
if error.debugDescription.contains("CHAIN_MASTER_UPDATE_LIMIT") {} else {
|
||||
XCTAssertNil(error)
|
||||
if let res = res {
|
||||
XCTAssertFalse(res.expired)
|
||||
XCTAssert(res.blockNum > props.headBlockId.num)
|
||||
} else {
|
||||
XCTFail("No response")
|
||||
}
|
||||
}
|
||||
test.fulfill()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue