From 42c47e074a9a37fcc52cb86ac5116ed150ed34dc Mon Sep 17 00:00:00 2001 From: Sathish Kannan Date: Thu, 5 Sep 2024 12:04:30 +0100 Subject: [PATCH] Fixed Checkstyle issues --- .../taskconfiguration/dmn/CamundaTaskConfigurationTest.java | 6 ++++-- .../taskconfiguration/dmn/CamundaTaskPermissionTest.java | 1 + .../taskconfiguration/dmn/CamundaTaskTypeFilterTest.java | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/test/java/uk/gov/hmcts/reform/prl/taskconfiguration/dmn/CamundaTaskConfigurationTest.java b/src/test/java/uk/gov/hmcts/reform/prl/taskconfiguration/dmn/CamundaTaskConfigurationTest.java index 7b085c9c..b41a5dbd 100644 --- a/src/test/java/uk/gov/hmcts/reform/prl/taskconfiguration/dmn/CamundaTaskConfigurationTest.java +++ b/src/test/java/uk/gov/hmcts/reform/prl/taskconfiguration/dmn/CamundaTaskConfigurationTest.java @@ -187,7 +187,8 @@ void when_caseData_then_return_expected_dueDateFields() { "updateHearingActualsC100","updateHearingActualsFL401","requestSolicitorOrderC100", "requestSolicitorOrderFL401","confidentialCheckSOA","recreateApplicationPack", "replyToMessageForCourtAdminFL401","replyToMessageForCourtAdminC100","replyToMessageForLA", - "completefl416AndServe","listWithoutNoticeHearingC100","listOnNoticeHearingFL401","reviewLangAndSmReq","listWithoutNoticeHearingFL401" + "completefl416AndServe","listWithoutNoticeHearingC100","listOnNoticeHearingFL401", + "reviewLangAndSmReq", "listWithoutNoticeHearingFL401" }) void when_given_task_type_then_return_dueDateIntervalDays_and_validate_description(String taskType) { VariableMap inputVariables = new VariableMapImpl(); @@ -610,7 +611,8 @@ void when_given_task_type_then_return_nextHearingDateFields_and_validate_descrip "serviceOfApplicationFL401","adminServeOrderFL401","updateHearingActualsFL401", "requestSolicitorOrderFL401", "reviewCorrespondenceFL401","produceHearingBundleFL401", "removeLegalRepresentativeFL401", "replyToMessageForCourtAdminFL401", - "reviewDocumentsForSolAndCafcassFL401","listWithoutNoticeHearingC100","listOnNoticeHearingFL401","listWithoutNoticeHearingFL401" + "reviewDocumentsForSolAndCafcassFL401","listWithoutNoticeHearingC100", + "listOnNoticeHearingFL401","listWithoutNoticeHearingFL401" }) void when_given_task_type_then_return_majorPriorityForValue1000_and_validate_description(String taskType) { VariableMap inputVariables = new VariableMapImpl(); diff --git a/src/test/java/uk/gov/hmcts/reform/prl/taskconfiguration/dmn/CamundaTaskPermissionTest.java b/src/test/java/uk/gov/hmcts/reform/prl/taskconfiguration/dmn/CamundaTaskPermissionTest.java index c2449f03..1e8cbcc0 100644 --- a/src/test/java/uk/gov/hmcts/reform/prl/taskconfiguration/dmn/CamundaTaskPermissionTest.java +++ b/src/test/java/uk/gov/hmcts/reform/prl/taskconfiguration/dmn/CamundaTaskPermissionTest.java @@ -838,6 +838,7 @@ void evaluate_task_admin_listWithoutNoticeC100(String taskType) { ))); } + @ParameterizedTest @CsvSource(value = { "listOnNoticeHearingFL401","listWithoutNoticeHearingFL401" diff --git a/src/test/java/uk/gov/hmcts/reform/prl/taskconfiguration/dmn/CamundaTaskTypeFilterTest.java b/src/test/java/uk/gov/hmcts/reform/prl/taskconfiguration/dmn/CamundaTaskTypeFilterTest.java index 71e85707..c08b53a0 100644 --- a/src/test/java/uk/gov/hmcts/reform/prl/taskconfiguration/dmn/CamundaTaskTypeFilterTest.java +++ b/src/test/java/uk/gov/hmcts/reform/prl/taskconfiguration/dmn/CamundaTaskTypeFilterTest.java @@ -22,6 +22,6 @@ void if_this_test_fails_needs_updating_with_your_changes() { DmnDecisionTableImpl logic = (DmnDecisionTableImpl) decision.getDecisionLogic(); assertThat(logic.getInputs().size(), is(1)); assertThat(logic.getOutputs().size(), is(2)); - assertThat(logic.getRules().size(), is(46)); + assertThat(logic.getRules().size(), is(47)); } }