diff --git a/apps/policy-engine/src/open-policy-agent/core/util/__test__/unit/rego-transpiler.util.spec.ts b/apps/policy-engine/src/open-policy-agent/core/util/__test__/unit/rego-transpiler.util.spec.ts index bd9d669ba..3c79d6683 100644 --- a/apps/policy-engine/src/open-policy-agent/core/util/__test__/unit/rego-transpiler.util.spec.ts +++ b/apps/policy-engine/src/open-policy-agent/core/util/__test__/unit/rego-transpiler.util.spec.ts @@ -103,7 +103,7 @@ describe('transpileReason', () => { const item = { id: '12345', then: Then.PERMIT, - name: 'policyName', + description: 'policyName', when: [ { criterion: Criterion.CHECK_APPROVALS, @@ -121,7 +121,7 @@ describe('transpileReason', () => { const item = { id: '12345', then: Then.PERMIT, - name: 'policyName', + description: 'policyName', when: [] } @@ -134,7 +134,7 @@ describe('transpileReason', () => { const item = { id: '12345', then: Then.FORBID, - name: 'policyName', + description: 'policyName', when: [] }