diff --git a/api-test/src/main/resources/preReg/GetApplicationStatusWithPrId/GetApplicationStatusWithPrId.yml b/api-test/src/main/resources/preReg/GetApplicationStatusWithPrId/GetApplicationStatusWithPrId.yml index 8d2d577b3d..873c5d66c6 100644 --- a/api-test/src/main/resources/preReg/GetApplicationStatusWithPrId/GetApplicationStatusWithPrId.yml +++ b/api-test/src/main/resources/preReg/GetApplicationStatusWithPrId/GetApplicationStatusWithPrId.yml @@ -45,7 +45,7 @@ GetApplicationStatusWithPrId: output: '{ "errors": [ { - "errorCode": "PRG_PAM_APP_005" + "errorCode": "PRG_CORE_REQ_016" } ] }' \ No newline at end of file diff --git a/api-test/src/main/resources/preReg/GetBookingsForRegCenter/GetBookingsForRegCenter.yml b/api-test/src/main/resources/preReg/GetBookingsForRegCenter/GetBookingsForRegCenter.yml index c3e2e3de9f..4f855f4a2b 100644 --- a/api-test/src/main/resources/preReg/GetBookingsForRegCenter/GetBookingsForRegCenter.yml +++ b/api-test/src/main/resources/preReg/GetBookingsForRegCenter/GetBookingsForRegCenter.yml @@ -2,6 +2,7 @@ GetBookingsForRegCenter: Prereg_GetBookingsForRegCenter_All_Valid_Smoke_sid: endPoint: /preregistration/v1/applications/bookings/{regCenterId}?appointmentDate=2020-10-01&appointmentToDate=2034-10-13 uniqueIdentifier: TC_prereg_GetBookingsForRegCenter_01 + checkErrorsOnlyInResponse: true description: Retrieve booking for a valid registration center ID role: batch restMethod: get @@ -11,10 +12,9 @@ GetBookingsForRegCenter: "regCenterId": "10003" }' output: '{ - "regCenterId": "10003" }' Prereg_GetBookingsForRegCenter_with_InValid_date_format: - endPoint: /preregistration/v1/applications/bookings/{regCenterId}?from_date=2020-45461&to_date=2034-10-13 + endPoint: /preregistration/v1/applications/bookings/{regCenterId}?appointmentDate=2020-45461&appointmentToDate=2034-10-13 uniqueIdentifier: TC_prereg_GetBookingsForRegCenter_02 description: Retrieve booking for a registration center with an invalid date format role: batch @@ -27,7 +27,7 @@ GetBookingsForRegCenter: output: '{ "errors": [ { - "errorCode": "PRG_BOOK_RCI_032" + "errorCode": "PRG_APP_013" } ] }' @@ -63,7 +63,7 @@ GetBookingsForRegCenter: output: '{ "errors": [ { - "errorCode": "PRG_BOOK_RCI_032" + "errorCode": "PRG_APP_013" } ] }' \ No newline at end of file diff --git a/api-test/src/main/resources/preReg/GetBookingsForRegCenter/getBookingsForRegCenterResult.hbs b/api-test/src/main/resources/preReg/GetBookingsForRegCenter/getBookingsForRegCenterResult.hbs index 5ef6830335..7a73a41bfd 100644 --- a/api-test/src/main/resources/preReg/GetBookingsForRegCenter/getBookingsForRegCenterResult.hbs +++ b/api-test/src/main/resources/preReg/GetBookingsForRegCenter/getBookingsForRegCenterResult.hbs @@ -1,5 +1,2 @@ { - "response": { - "regCenterId": "{{regCenterId}}" - } } \ No newline at end of file diff --git a/api-test/src/main/resources/preReg/bookAppointment/bookAppointment.yml b/api-test/src/main/resources/preReg/bookAppointment/bookAppointment.yml index 13fde3d886..ea8747ff00 100644 --- a/api-test/src/main/resources/preReg/bookAppointment/bookAppointment.yml +++ b/api-test/src/main/resources/preReg/bookAppointment/bookAppointment.yml @@ -108,7 +108,7 @@ BookAppointment: output: '{ "errors": [ { - "errorCode": "PRG_CORE_REQ_015" + "errorCode": "PRG_CORE_REQ_016" } ]