Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
so that it is an individually protected item
  • Loading branch information
jdub233 committed Nov 13, 2023
1 parent ae2a208 commit fb1afc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/authorizeRequest/authorizeRequest.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ describe('authorizeRequest', () => {

it('should return true if the user is granted access by groupName even if denied by siteRule', async () => {
const userRequest = {
url: 'https://example-access-point.s3-object-lambda.us-east-1.amazonaws.com/somesite/files/2023/08/image.jpg',
url: 'https://example-access-point.s3-object-lambda.us-east-1.amazonaws.com/somesite/files/__restricted/somegroup/image.jpg',
headers: {
Eppn: '[email protected]', // This user should have access to 'somegroup' but not 'othergroup'.
'X-Real-Ip': '127.0.0.1',
Expand Down

0 comments on commit fb1afc5

Please sign in to comment.