Skip to content

Commit

Permalink
DFPL-2298 Wording incorrect on hearing notice since hearing improveme…
Browse files Browse the repository at this point in the history
…nts were released. (#5337)

* update final hearing wording

* fix test

---------

Co-authored-by: Braimah101 <[email protected]>
  • Loading branch information
chak-shing-lo-justice and Braimah101 authored May 13, 2024
1 parent f3f88f2 commit 0622df8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ccd-definition/FixedLists/CareSupervision/HearingType.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"LiveFrom": "01/01/2017",
"ID": "HearingType",
"ListElementCode": "FINAL",
"ListElement": "Full hearing",
"ListElement": "Final",
"DisplayOrder": 7
},
{
Expand Down
2 changes: 1 addition & 1 deletion playwright-e2e/pages/mixins/hearing-details-mixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function HearingDetailsMixin(BasePage) {
'Further case management',
'Fact finding',
'Issue resolution',
'Full hearing',
'Final',
'Judgment after hearing',
'Discharge of care',
'Family drug & alcohol court',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public enum HearingType {
CASE_MANAGEMENT("Case management"),
FURTHER_CASE_MANAGEMENT("Further case management"),
ISSUE_RESOLUTION("Issue resolution"),
FINAL("Full hearing"),
FINAL("Final"),
JUDGMENT_AFTER_HEARING("Judgment after hearing"),
INTERIM_CARE_ORDER("Interim care order"),
ACCELERATED_DISCHARGE_OF_CARE("Discharge of care"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ void shouldReturnHtmlReport(String courtId, Optional<Court> court, String courtN
+ "<td class='search-result-column-cell'>22-09-2022</td>"
+ "<td class='search-result-column-cell'>03-11-2022</td>"
+ "<td class='search-result-column-cell'>" + getWeeks(submittedDate) + "</td>"
+ "<td class='search-result-column-cell'>Full hearing</td>"
+ "<td class='search-result-column-cell'>Final</td>"
+ "<td class='search-result-column-cell'>02-11-2022</td></tr>"
+ "</table>");
}
Expand Down Expand Up @@ -356,7 +356,7 @@ void shouldReturnFileReport() throws IOException {
tuple("Case Number", "CCD Number","Receipt date", "Last PLO hearing", "Next hearing",
"Age of case (weeks)","PLO stage", "Expected FH date"),
tuple("PO22ZA12345", "1663342447124290", "04-05-2022", "22-09-2022",
"03-11-2022", getWeeks(submittedDate), "Full hearing", "02-11-2022"),
"03-11-2022", getWeeks(submittedDate), "Final", "02-11-2022"),
tuple("ZO88ZA56789", "1663342966373807", "04-04-2022", "18-06-2022",
"22-09-2022", getWeeks(submittedDate.minusMonths(1)), "Issue resolution", "03-10-2022"),
tuple("AO88ZA56789", "1663342966000000", "04-07-2022", "22-08-2022",
Expand Down

0 comments on commit 0622df8

Please sign in to comment.