Skip to content

Commit 7965670

Browse files
author
Will Toozs
committed
ARSN-387: update test
1 parent f1d7573 commit 7965670

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/unit/policyEvaluator.spec.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,9 @@ describe('policyEvaluator', () => {
915915
() => {
916916
policy.Statement.Condition = { Bool:
917917
{ 'aws:SecureTransport': 'true' } };
918-
const rcModifiers = { _sslEnabled: true };
918+
const rcModifiers = { _headers: {
919+
'x-forwarded-proto': 'https',
920+
} };
919921
check(requestContext, rcModifiers, policy, 'Allow');
920922
});
921923

0 commit comments

Comments
 (0)