From 796567047118cdbeacfa76d42fe0938c5378788f Mon Sep 17 00:00:00 2001 From: Will Toozs Date: Fri, 19 Jan 2024 14:09:40 +0100 Subject: [PATCH] ARSN-387: update test --- tests/unit/policyEvaluator.spec.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/unit/policyEvaluator.spec.js b/tests/unit/policyEvaluator.spec.js index 91fa9ab2d..f10bd62e3 100644 --- a/tests/unit/policyEvaluator.spec.js +++ b/tests/unit/policyEvaluator.spec.js @@ -915,7 +915,9 @@ describe('policyEvaluator', () => { () => { policy.Statement.Condition = { Bool: { 'aws:SecureTransport': 'true' } }; - const rcModifiers = { _sslEnabled: true }; + const rcModifiers = { _headers: { + 'x-forwarded-proto': 'https', + } }; check(requestContext, rcModifiers, policy, 'Allow'); });