Commit dce206f
committed
add comprehensive integration tests for webhook protocols
- Add integration tests for LSPS5 covering:
- Webhook registration flow with request ID matching.
- Error handling for invalid URLs, app names, and protocol mismatches.
- Notification delivery for different event types (payment_incoming, expiry_soon, liquidity_management_request).
- Idempotency of webhook registrations and update detection.
- Replay prevention, tampering, and out-of-window timestamp validations.
- Extend LSPS2 integration tests to verify protocol message handling.1 parent fca9c27 commit dce206f
File tree
2 files changed
+1486
-0
lines changed- lightning-liquidity/tests
2 files changed
+1486
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| 99 | + | |
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
| |||
0 commit comments