diff --git a/test/node-saml/tests.spec.ts b/test/node-saml/tests.spec.ts index 6581bfc6..27801f99 100644 --- a/test/node-saml/tests.spec.ts +++ b/test/node-saml/tests.spec.ts @@ -2021,7 +2021,7 @@ describe("node-saml /", function () { ), }; await assert.rejects(samlObj.validatePostRequestAsync(body), { - message: "Invalid RSAES-OAEP padding.", + message: "error:04099079:rsa routines:RSA_padding_check_PKCS1_OAEP_mgf1:oaep decoding error", }); });