Skip to content

Commit c5c7897

Browse files
author
Will Toozs
committed
fixup: update test
1 parent 7965670 commit c5c7897

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/unit/policyEvaluator.spec.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,9 @@ describe('policyEvaluator', () => {
906906
() => {
907907
policy.Statement.Condition = { Bool:
908908
{ 'aws:SecureTransport': 'true' } };
909-
const rcModifiers = { _sslEnabled: false };
909+
const rcModifiers = { _headers: {
910+
'x-forwarded-proto': 'http',
911+
} };
910912
check(requestContext, rcModifiers, policy, 'Neutral');
911913
});
912914

0 commit comments

Comments
 (0)