T2393
Mock API call in unit test
Differential D11327
[Cashtab] Add mock API call to unit test bytesofman on Apr 11 2022, 11:41. Authored by Tags None Subscribers None
Details
T2393 Mock API call in unit test Disable your internet connection
Diff Detail
Event TimelineComment Actions Issue here is that the getRawTransaction call is not for the tx in question, but its first vin. This is confusing for anyone coming into these unit tests who did not write them an hour or two ago. Could be improved by splitting out every tx mock and giving it a name and variable. |