Skip to content

Commit

Permalink
fix flaw in unit test for root site access rules
Browse files Browse the repository at this point in the history
They aren't written with trailing slashes, the code needs to account for that.
  • Loading branch information
jdub233 committed Jan 26, 2024
1 parent 6571f16 commit 958828d
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 @@ -34,7 +34,7 @@ ddbMock.on(GetCommand, {
}),
},
}).on(GetCommand, {
Key: { PK: 'example.host.bu.edu/#somegroup' },
Key: { PK: 'example.host.bu.edu#somegroup' },
}).resolves({
Item: {
rules: JSON.stringify({
Expand Down

0 comments on commit 958828d

Please sign in to comment.