diff --git a/apitest/src/main/resources/masterdata/FetchRegCentHistory/FetchRegCentHistory.yml b/apitest/src/main/resources/masterdata/FetchRegCentHistory/FetchRegCentHistory.yml index a7824872cf8..ded7caa9ad2 100644 --- a/apitest/src/main/resources/masterdata/FetchRegCentHistory/FetchRegCentHistory.yml +++ b/apitest/src/main/resources/masterdata/FetchRegCentHistory/FetchRegCentHistory.yml @@ -3,6 +3,7 @@ FetchRegCentHistory: endPoint: /v1/masterdata/registrationcentershistory/{registrationCenterId}/{langCode}/{effectiveDate} description: Retrieve Registration Center History with all valid data role: admin + checkErrorsOnlyInResponse: true templateFields: ["langCode"] restMethod: get inputTemplate: masterdata/FetchRegCentHistory/fetchRegCentHistory @@ -14,7 +15,7 @@ FetchRegCentHistory: }' output: '{ "registrationCentersHistory": [{ - "isActive": "true" + "isActive": "$IGNORE$" }] }' Masterdata_FetchRegCentHistory_invalid_registrationCenterId: diff --git a/apitest/src/main/resources/masterdata/GetRegistrationMachineUserMappingHistory/GetRegistrationMachineUserMappingHistory.yml b/apitest/src/main/resources/masterdata/GetRegistrationMachineUserMappingHistory/GetRegistrationMachineUserMappingHistory.yml index 7c164165784..fa9ee979541 100644 --- a/apitest/src/main/resources/masterdata/GetRegistrationMachineUserMappingHistory/GetRegistrationMachineUserMappingHistory.yml +++ b/apitest/src/main/resources/masterdata/GetRegistrationMachineUserMappingHistory/GetRegistrationMachineUserMappingHistory.yml @@ -1,6 +1,7 @@ GetRegistrationMachineUserMappingHistory: MasterData_GetRegistrationMachineUserMappingHistory_allValid_smoke: endPoint: /v1/masterdata/getregistrationmachineusermappinghistory/{effdtimes}/{registrationcenterid}/{machineid}/{userid} + description: Retrieve registration machine user mapping history missing using valid effdtimes, registration center ID, machine ID, user id role: admin checkErrorsOnlyInResponse: true restMethod: get diff --git a/apitest/src/main/resources/masterdata/UserCenterMapping/UpdateUserCenterMapping.yml b/apitest/src/main/resources/masterdata/UserCenterMapping/UpdateUserCenterMapping.yml index ebac0382899..482a39bd993 100644 --- a/apitest/src/main/resources/masterdata/UserCenterMapping/UpdateUserCenterMapping.yml +++ b/apitest/src/main/resources/masterdata/UserCenterMapping/UpdateUserCenterMapping.yml @@ -3,7 +3,7 @@ UpdateUserCenterMapping: endPoint: /v1/masterdata/usercentermapping description: Update user center mapping details with valid data role: globalAdmin - templateFields: ["zoneName","regCenterName"] + templateFields: ["regCenterName"] restMethod: put inputTemplate: masterdata/UserCenterMapping/updateUserCenterMapping outputTemplate: masterdata/UserCenterMapping/userCenterMappingResult @@ -19,8 +19,8 @@ UpdateUserCenterMapping: "name": "automationUpdated", "statusCode": "active", "regCenterId": "$IGNORE$", - "zoneCode": "RBT", - "zoneName": "Rabat", + "zoneCode": "$IGNORE$", + "zoneName": "$IGNORE$", "regCenterName": "HSR Center updated" }' MasterData_UserCenterMapping_Invalid_InputParameter_regCenterId_Missing: @@ -70,4 +70,4 @@ UpdateUserCenterMapping: "message": "Registration Center not found" } ] -}' \ No newline at end of file +}' diff --git a/apitest/src/main/resources/masterdata/getregistrationmachineusermappinghistory/getregistrationmachineusermappinghistory.yml b/apitest/src/main/resources/masterdata/getregistrationmachineusermappinghistory/getregistrationmachineusermappinghistory.yml deleted file mode 100644 index fa9ee979541..00000000000 --- a/apitest/src/main/resources/masterdata/getregistrationmachineusermappinghistory/getregistrationmachineusermappinghistory.yml +++ /dev/null @@ -1,25 +0,0 @@ -GetRegistrationMachineUserMappingHistory: - MasterData_GetRegistrationMachineUserMappingHistory_allValid_smoke: - endPoint: /v1/masterdata/getregistrationmachineusermappinghistory/{effdtimes}/{registrationcenterid}/{machineid}/{userid} - description: Retrieve registration machine user mapping history missing using valid effdtimes, registration center ID, machine ID, user id - role: admin - checkErrorsOnlyInResponse: true - restMethod: get - inputTemplate: masterdata/GetRegistrationMachineUserMappingHistory/getRegistrationMachineUserMappingHistory - outputTemplate: masterdata/GetRegistrationMachineUserMappingHistory/getRegistrationMachineUserMappingHistoryResult - input: '{ - "effdtimes":"$ID:SearchMachine_Valid_Smoke_FullResponse_sid_responsetime$", - "registrationcenterid":"$ID:CreateRegCenter_allValid_smoke_sid_id$", - "machineid":"$ID:CreateMachine_All_Valid_Smoke_sid_id$", - "userid":"$ID:CreateZoneUser_All_Valid_Smoke_Sid_userId$" -}' - output: '{ -"registrationCenters": [{ - "cntrId": "$IGNORE$", - "machineId": "$IGNORE$", - "usrId": "$IGNORE$", - "isActive": "$IGNORE$", - "langCode": "$IGNORE$", - "effectivetimes": "$IGNORE$" - }] -}' \ No newline at end of file