Skip to content

Commit

Permalink
fixup: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
KazToozs committed Mar 6, 2024
1 parent 8edd2f1 commit 0466eb4
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 0466eb4

Please sign in to comment.