我需要在我得到的JS对象上运行一个断言。这里的问题是,即使我的断言失败了,测试仍然被证明是通过的;我如何修复它?console.log(certificate.subject.CN)
√ verifies the issue of the certificate
DigiCert Inc
DigiCert SHA2
这将按预期返回加密的字符串:AES_ENCRYPT('test', UNHEX(SHA2('This Is Cool',512))) as encrypted,
CAST(AES_DECRYPT(AES_ENCRYPT('test', UNHEX(SHA2('This Is Cool',512))), UNHEX(SHA2('This Is Cool',512))