Skip to content

Commit

Permalink
reverting unecessary changes to test file
Browse files Browse the repository at this point in the history
  • Loading branch information
Ptroger committed Mar 25, 2024
1 parent ee73aeb commit cc659b4
Showing 1 changed file with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,17 +149,12 @@ describe('OpenPolicyAgentEngine', () => {
resourceId: FIXTURE.WALLET.Engineering.id
}

const authentication = await signJwt(
{
requestHash: hash(request),
sub: FIXTURE.USER.Alice.id
},
secp256k1PrivateKeyToJwk(FIXTURE.UNSAFE_PRIVATE_KEY.Alice),
{ alg: SigningAlg.EIP191 },
buildSignerEip191(FIXTURE.UNSAFE_PRIVATE_KEY.Alice)
)
const evaluation: EvaluationRequest = {
authentication,
authentication: await getJwt({
privateKey: FIXTURE.UNSAFE_PRIVATE_KEY.Alice,
sub: FIXTURE.USER.Alice.id,
request
}),
request
}

Expand Down

0 comments on commit cc659b4

Please sign in to comment.