Skip to content

Commit

Permalink
Merge pull request #104 from hmcts/prl-swansea-changes
Browse files Browse the repository at this point in the history
Fixes for E2E Testing on 14th Feb
  • Loading branch information
sathishkannan-hmcts authored Feb 16, 2024
2 parents 30361f8 + 326c87f commit f117f57
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 2 deletions.
73 changes: 72 additions & 1 deletion src/main/resources/wa-task-initiation-privatelaw-prlapps.dmn
Original file line number Diff line number Diff line change
Expand Up @@ -4068,7 +4068,7 @@ and additionalData.Data.isHearingTaskNeeded != null) then
<text></text>
</inputEntry>
<inputEntry id="UnaryTests_18uq7oq">
<text></text>
<text>"No"</text>
</inputEntry>
<inputEntry id="UnaryTests_19zgxui">
<text></text>
Expand Down Expand Up @@ -4104,6 +4104,77 @@ and additionalData.Data.isHearingTaskNeeded != null) then
<text>"completefl416AndServe"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0gevof5">
<inputEntry id="UnaryTests_0q6kys6">
<text>"confidentialityCheck"</text>
</inputEntry>
<inputEntry id="UnaryTests_09ntgja">
<text>"JUDICIAL_REVIEW","PREPARE_FOR_HEARING_CONDUCT_HEARING"</text>
</inputEntry>
<inputEntry id="UnaryTests_136jba0">
<text>"FL401"</text>
</inputEntry>
<inputEntry id="UnaryTests_1iucn8h">
<text></text>
</inputEntry>
<inputEntry id="UnaryTests_09bpkok">
<text></text>
</inputEntry>
<inputEntry id="UnaryTests_0qz5329">
<text></text>
</inputEntry>
<inputEntry id="UnaryTests_0u71w0h">
<text></text>
</inputEntry>
<inputEntry id="UnaryTests_17b5f5o">
<text></text>
</inputEntry>
<inputEntry id="UnaryTests_13bqg26">
<text></text>
</inputEntry>
<inputEntry id="UnaryTests_0x8ws1j">
<text></text>
</inputEntry>
<inputEntry id="UnaryTests_1q2just">
<text></text>
</inputEntry>
<inputEntry id="UnaryTests_0mylx7g">
<text></text>
</inputEntry>
<inputEntry id="UnaryTests_1400au4">
<text>"Yes"</text>
</inputEntry>
<inputEntry id="UnaryTests_0f5nrw9">
<text>"Yes"</text>
</inputEntry>
<inputEntry id="UnaryTests_1kmzmz8">
<text></text>
</inputEntry>
<inputEntry id="UnaryTests_11ecuwf">
<text></text>
</inputEntry>
<inputEntry id="UnaryTests_10dd9u9">
<text></text>
</inputEntry>
<inputEntry id="UnaryTests_0svw0xn">
<text></text>
</inputEntry>
<inputEntry id="UnaryTests_0a53ur0">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1cz16ya">
<text>"completefl416AndServe"</text>
</outputEntry>
<outputEntry id="LiteralExpression_11xehbw">
<text>"Complete FL416 and serve applicant only"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0n4jr2r">
<text></text>
</outputEntry>
<outputEntry id="LiteralExpression_0lhufyx">
<text>"completefl416AndServe"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0iqokeg">
<inputEntry id="UnaryTests_0g12qzm">
<text>"confidentialityCheck"</text>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ void if_this_test_fails_needs_updating_with_your_changes() {
DmnDecisionTableImpl logic = (DmnDecisionTableImpl) decision.getDecisionLogic();
assertThat(logic.getInputs().size(), is(19));
assertThat(logic.getOutputs().size(), is(4));
assertThat(logic.getRules().size(), is(81));
assertThat(logic.getRules().size(), is(82));
}

static Stream<Arguments> scenarioProvider() {
Expand Down Expand Up @@ -826,6 +826,25 @@ static Stream<Arguments> scenarioProvider() {
mapAdditionalData("{\n"
+ " \"Data\":{\n"
+ " \"caseTypeOfApplication\":\"" + "FL401" + "\"\n,"
+ " \"isC8CheckNeeded\":\"" + "No" + "\"\n,"
+ " \"isOccupationOrderSelected\":\"" + "Yes" + "\"\n"
+ " }"
+ "}"),
List.of(
Map.of(
"name", "Complete FL416 and serve applicant only",
"processCategories", "completefl416AndServe",
"taskId", "completefl416AndServe"
)
)
),
Arguments.of(
"confidentialityCheck",
"JUDICIAL_REVIEW",
mapAdditionalData("{\n"
+ " \"Data\":{\n"
+ " \"caseTypeOfApplication\":\"" + "FL401" + "\"\n,"
+ " \"isC8CheckApproved\":\"" + "Yes" + "\"\n,"
+ " \"isOccupationOrderSelected\":\"" + "Yes" + "\"\n"
+ " }"
+ "}"),
Expand Down

0 comments on commit f117f57

Please sign in to comment.