diff --git a/security/certificate_framework/js_api_test_one/src/main/js/test/utils/certificate/publicCertificateCallback.js b/security/certificate_framework/js_api_test_one/src/main/js/test/utils/certificate/publicCertificateCallback.js index 786fc50a025a947151ab9c1e609b1eb53a3f454d..82576eae49ba0f7ffc2e8657ffcf4a7f5d4aaaa6 100644 --- a/security/certificate_framework/js_api_test_one/src/main/js/test/utils/certificate/publicCertificateCallback.js +++ b/security/certificate_framework/js_api_test_one/src/main/js/test/utils/certificate/publicCertificateCallback.js @@ -197,6 +197,8 @@ async function getX509CertInfoCallback(certType, processType) { let serialNumber = gInstance.getSerialNumber(); console.log(processType + " is : " + serialNumber); expect(serialNumber != null).assertTrue(); + let certSerialNumber = gInstance.getCertSerialNumber(); + expect(certSerialNumber != null).assertTrue(); break; case "getIssuerName": let issuerName = gInstance.getIssuerName(); diff --git a/security/certificate_framework/js_api_test_one/src/main/js/test/utils/certificate/publicCertificatePromise.js b/security/certificate_framework/js_api_test_one/src/main/js/test/utils/certificate/publicCertificatePromise.js index 2304f6c54e153c22c92760fa0831191826685d75..3600c43a6ae59a4148e33a0d76163201d0796eee 100644 --- a/security/certificate_framework/js_api_test_one/src/main/js/test/utils/certificate/publicCertificatePromise.js +++ b/security/certificate_framework/js_api_test_one/src/main/js/test/utils/certificate/publicCertificatePromise.js @@ -185,6 +185,8 @@ async function getX509CertInfoPromise(certType, processType) { let serialNumber = gInstance.getSerialNumber(); console.log(processType + " is : " + serialNumber); expect(serialNumber != null).assertTrue(); + let certSerialNumber = gInstance.getCertSerialNumber(); + expect(certSerialNumber != null).assertTrue(); break; case "getIssuerName": let issuerName = gInstance.getIssuerName();