From 52bd87a7db4c71703e3574d17f312c6397c8b620 Mon Sep 17 00:00:00 2001 From: samuel Date: Wed, 3 Apr 2024 14:37:56 +0200 Subject: [PATCH] fix --- .../core/util/__test__/unit/rego-transpiler.util.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: [] }