eonx-com / webhooks

The EoneoPay Webhook
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

PYMT-1379: Set creation date for response based on exception #37

Closed brendonofficial closed 5 years ago

brendonofficial commented 5 years ago

In the webhooks library, the saveResponseException method in the WebhookPersister class was not setting the createdAt property value, causing the value to remain as null when the entity was persisted.

In this PR, this has been updated to set a creation date, and the WebhookPersisterTest has also been updated to check the value.

Related ticket: https://eonx.atlassian.net/browse/PYMT-1379 Related issue: https://github.com/loyaltycorp/webhooks/issues/35