Skip to content

Add integration test for webhook deletion removing the record and stopping future deliveries #506

Description

@Chucks1093

Summary

When a creator deletes a webhook via DELETE /creators/:id/webhooks/:webhook_id, the webhook must be removed from the database and no further deliveries should occur for that webhook ID even if a matching trade event arrives shortly after deletion.

Scope

  • Register a webhook and confirm it exists
  • Delete the webhook and assert the response is 204
  • Simulate a trade event after deletion
  • Assert no delivery attempt was made for the deleted webhook

Acceptance Criteria

  • DELETE returns 204
  • Webhook record no longer exists after deletion
  • No delivery attempted after deletion on subsequent trade event

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions