Skip to content

Commit

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

* MOSIP-36555 - Removed the OTPListener initializing and cleaned up

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

* MOSIP-36275 - Fixed automation failures

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

* MOSIP-36275 - Added output validation for get misp api

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

* MOSIP-36853

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

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

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 0c97255 commit f3d2f40
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
4 changes: 2 additions & 2 deletions api-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@

<dependencies>
<dependency>
<groupId>io.mosip.testrig.apirig.apitest.commons</groupId>
<groupId>io.mosip.testrig.apitest.commons</groupId>
<artifactId>apitest-commons</artifactId>
<version>1.2.2-SNAPSHOT</version>
<version>1.3.0</version>
</dependency>
</dependencies>

Expand Down
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
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 f3d2f40

Please sign in to comment.