cc-tracking/tasks/bridge-1001/commit-message.md
2018-05-04 11:21:51 +01:00

665 B

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