diff --git a/security/security_huks_basic/huks_cipher_callback_BasicTest/entry/src/main/js/test/Cipher/SecurityHuksRSABasicCallbackJsunit.test.js b/security/security_huks_basic/huks_cipher_callback_BasicTest/entry/src/main/js/test/Cipher/SecurityHuksRSABasicCallbackJsunit.test.js index 064cc420b5e61969f151b8e6f261ef2180afb230..8f378af3dfedee3f558a104cc85ba6fd28c097a9 100644 --- a/security/security_huks_basic/huks_cipher_callback_BasicTest/entry/src/main/js/test/Cipher/SecurityHuksRSABasicCallbackJsunit.test.js +++ b/security/security_huks_basic/huks_cipher_callback_BasicTest/entry/src/main/js/test/Cipher/SecurityHuksRSABasicCallbackJsunit.test.js @@ -34,8 +34,10 @@ let genHuksOptions = { async function publicGenerateKeyFunc(srcKeyAlies, genHuksOptionsNONC) { await generateKey(srcKeyAlies, genHuksOptionsNONC) .then((data) => { - console.log(`test generateKey data: ${JSON.stringify(data)}`); + console.error(`test generateKey data: ${JSON.stringify(data)}`); expect(data.errorCode == 0).assertTrue(); + expect(data.outData == null).assertTrue(); + expect(data.properties == null).assertTrue(); }) .catch((err) => { console.log('test generateKey err information: ' + JSON.stringify(err));