Skip to content

Commit

Permalink
ARSN-387: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Toozs committed Feb 9, 2024
1 parent f1d7573 commit 7965670
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 @@ -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');
});

Expand Down

0 comments on commit 7965670

Please sign in to comment.