Skip to content

Commit

Permalink
fixup: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Toozs committed Feb 9, 2024
1 parent 7965670 commit c5c7897
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/unit/policyEvaluator.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,9 @@ describe('policyEvaluator', () => {
() => {
policy.Statement.Condition = { Bool:
{ 'aws:SecureTransport': 'true' } };
const rcModifiers = { _sslEnabled: false };
const rcModifiers = { _headers: {
'x-forwarded-proto': 'http',
} };
check(requestContext, rcModifiers, policy, 'Neutral');
});

Expand Down

0 comments on commit c5c7897

Please sign in to comment.