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 Jan 19, 2024
1 parent 92bd028 commit ba62f33
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 ba62f33

Please sign in to comment.