Skip to content

Commit

Permalink
MOSIP-36853 - updated the output validation for update device api (#1065
Browse files Browse the repository at this point in the history
)

* MOSIP-38543 - synced release branch with develop branch

Signed-off-by: Mohanachandran S <[email protected]>

* MOSIP-38543 - synced release branch with develop branch

Signed-off-by: Mohanachandran S <[email protected]>

* MOSIP-38543 - synced release branch with develop branch

Signed-off-by: Mohanachandran S <[email protected]>

* MOSIP-36853 - updated the output validation for update device api

Signed-off-by: Mohanachandran S <[email protected]>

* MOSIP-38648 - Update the validation for update device test case

Signed-off-by: Mohanachandran S <[email protected]>

---------

Signed-off-by: Mohanachandran S <[email protected]>
Signed-off-by: Mohanachandran S <[email protected]>
  • Loading branch information
mohanachandran-s authored Jan 6, 2025
1 parent 69f4291 commit 0815a43
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ GetMISPLicenseByMispID:
}'
output: '{
"providerId": "MISP-AUTOMATION",
"licenseKeyStatus": "De-active"
"licenseKeyStatus": "Active"
}'

Partner_GetMISPLicenseByMispID__Active_allValid_smoke:
Expand Down Expand Up @@ -48,4 +48,4 @@ GetMISPLicenseByMispID:
"errorCode": "PMS_MSP_005"
}
]
}'
}'
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ createServiceToUpdateDeviceDetail:
output: '{
}'

Partner_ServiceToUpdateDeviceDetail_afterReject_InValid:
Partner_ServiceToUpdateDeviceDetail_afterReject_All_Valid_Smoke:
endPoint: /v1/partnermanager/devicedetail
uniqueIdentifier: TC_PMS_createServiceToUpdateDeviceDetail_02
description: Create Service To Update DeviceDetail afterReject
role: partner
checkErrorsOnlyInResponse: true
restMethod: put
inputTemplate: partner/device/makeAndModel/update/updateDeviceDetail
outputTemplate: partner/error
outputTemplate: partner/device/makeAndModel/update/updateDeviceDetailResult
input: '{
"deviceProviderId": "Tech-123",
"deviceSubTypeCode": "Single",
Expand All @@ -44,11 +45,6 @@ createServiceToUpdateDeviceDetail:
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "PMS_COR_001"
}
]
}'

Partner_ServiceToUpdateDeviceDetail_Missing_InputParameter_DeviceId:
Expand Down

0 comments on commit 0815a43

Please sign in to comment.