Skip to content

Commit

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

Please sign in to comment.