diff --git a/apps/policy-engine/src/open-policy-agent/core/util/__test__/unit/evaluation.util.spec.ts b/apps/policy-engine/src/open-policy-agent/core/util/__test__/unit/evaluation.util.spec.ts index 7f949c586..bea324d7f 100644 --- a/apps/policy-engine/src/open-policy-agent/core/util/__test__/unit/evaluation.util.spec.ts +++ b/apps/policy-engine/src/open-policy-agent/core/util/__test__/unit/evaluation.util.spec.ts @@ -6,12 +6,9 @@ import { toData, toInput } from '../../evaluation.util' describe('toInput', () => { it('throws OpenPolicyAgentException when action is unsupported', () => { - const evaluation: Partial = { + const evaluation = { request: { - action: Action.SIGN_TYPED_DATA, - nonce: 'test-nonce', - resourceId: 'test-resource-id', - typedData: 'test-typed-data' + action: 'UNSUPPORTED ACTION' } }