cc-tracking/tasks/bridge-1001/commit-message.md

18 lines
665 B
Markdown
Raw Normal View History

2018-05-04 10:21:51 +00:00
BRIDGE-1001 processorResponse inconsistent location
# Summary
If there was a WorldPay error when an ATP was being created, the ResultDetails were being included inside ErrorDetails.
* Swagger definition for ErrorDetails was updated to prevent anything other than the specified details being included.
* get-all-atps-for-rtp.spec.js was updated to test that swagger prevents ResultDetails from appearing in ErrorDetails
* controllers/atps/payables/create.js updated to move ProcessorResponse out of ErrorDetails and is now a child of ResultDetails
* tests refreshed using the new test framework
# Test Plan
* Run All tests
* Run E2E: get All ATPs
Test Results