From e498e8e181b5270ae6a52644d050feb9997ddd44 Mon Sep 17 00:00:00 2001 From: Rishi S Date: Tue, 27 Dec 2022 18:37:46 +0000 Subject: [PATCH] fix: custom authentication unit test assertion --- .../custom-authentication/authenticationCustomVariable.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/custom-authentication/authenticationCustomVariable.test.js b/tests/integration/custom-authentication/authenticationCustomVariable.test.js index 4e05f12cc..a15b288f8 100644 --- a/tests/integration/custom-authentication/authenticationCustomVariable.test.js +++ b/tests/integration/custom-authentication/authenticationCustomVariable.test.js @@ -32,7 +32,7 @@ describe('custom authentication serverless-offline variable tests', function des const json = await response.json() assert.deepEqual( - json.event.requestContext.authorizer.expected, + json.event.requestContext.authorizer.lambda.expected, 'it works', ) })