From 3e908faa2c1ecf4c26e7400ec86442f566cb41e1 Mon Sep 17 00:00:00 2001 From: Mark Stosberg Date: Thu, 20 Jan 2022 17:07:48 -0500 Subject: [PATCH] test: update error message to match new xml-encryption format. --- test/node-saml/tests.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", }); });