Priority: High
Crate: txwatch-poller
Labels: testing
Description:
There is no test verifying that when a Horizon page contains multiple transactions, the AnyTransaction rule fires for each one and the webhook is called once per transaction.
Tasks:
- Mount a mock Horizon server returning a page with 3 transactions
- Configure
AnyTransaction rule
- Assert the webhook mock receives exactly 3 POST requests
Priority: High
Crate:
txwatch-pollerLabels:
testingDescription:
There is no test verifying that when a Horizon page contains multiple transactions, the
AnyTransactionrule fires for each one and the webhook is called once per transaction.Tasks:
AnyTransactionrule