From 5fe4b416e07e4aaf65a103cff37365f6e2e0e8ba Mon Sep 17 00:00:00 2001 From: adamg-hmcts Date: Wed, 13 Nov 2024 10:45:29 +0000 Subject: [PATCH] Update workbasket input fields test --- .../src/test/java/uk/gov/hmcts/reform/fpl/CCDConfig.java | 1 + .../caseworker-publiclaw-courtadmin.json | 7 +++++++ .../CARE_SUPERVISION_EPO/WorkBasketInputFields.json | 7 +++++++ 3 files changed, 15 insertions(+) diff --git a/ccd-config-generator/src/test/java/uk/gov/hmcts/reform/fpl/CCDConfig.java b/ccd-config-generator/src/test/java/uk/gov/hmcts/reform/fpl/CCDConfig.java index 32d61fbd..31161c9f 100644 --- a/ccd-config-generator/src/test/java/uk/gov/hmcts/reform/fpl/CCDConfig.java +++ b/ccd-config-generator/src/test/java/uk/gov/hmcts/reform/fpl/CCDConfig.java @@ -221,6 +221,7 @@ private void buildWorkBasketInputFields() { .field(CaseData::getCaseName, "Case name") .field(CaseData::getFamilyManCaseNumber, "FamilyMan case number") .field(CaseData::getHearingDetails, "Hearing Details", LOCAL_AUTHORITY) + .field(CaseData::getHearingDetails, "Hearing Details", HMCTS_ADMIN) .field("hearingPreferencesWelsh", "Is in Welsh") .caseReferenceField() .field(CaseData::getDateSubmitted, "Date submitted", "", "#DATETIMEDISPLAY(d MMMM yyyy)") diff --git a/ccd-config-generator/src/test/resources/CARE_SUPERVISION_EPO/AuthorisationCaseField/caseworker-publiclaw-courtadmin.json b/ccd-config-generator/src/test/resources/CARE_SUPERVISION_EPO/AuthorisationCaseField/caseworker-publiclaw-courtadmin.json index 0d6f121a..c42f6334 100644 --- a/ccd-config-generator/src/test/resources/CARE_SUPERVISION_EPO/AuthorisationCaseField/caseworker-publiclaw-courtadmin.json +++ b/ccd-config-generator/src/test/resources/CARE_SUPERVISION_EPO/AuthorisationCaseField/caseworker-publiclaw-courtadmin.json @@ -27,6 +27,13 @@ "LiveFrom": "01/01/2017", "CaseFieldID": "standardDirectionOrder" }, + { + "CRUD": "R", + "CaseTypeID": "CARE_SUPERVISION_EPO", + "UserRole": "caseworker-publiclaw-courtadmin", + "LiveFrom": "01/01/2017", + "CaseFieldID": "hearingDetails" + }, { "CRUD": "R", "CaseTypeID": "CARE_SUPERVISION_EPO", diff --git a/ccd-config-generator/src/test/resources/CARE_SUPERVISION_EPO/WorkBasketInputFields.json b/ccd-config-generator/src/test/resources/CARE_SUPERVISION_EPO/WorkBasketInputFields.json index c9700b99..f62d417a 100644 --- a/ccd-config-generator/src/test/resources/CARE_SUPERVISION_EPO/WorkBasketInputFields.json +++ b/ccd-config-generator/src/test/resources/CARE_SUPERVISION_EPO/WorkBasketInputFields.json @@ -20,6 +20,13 @@ "UserRole" : "caseworker-publiclaw-solicitor", "Label" : "Hearing Details" }, + { + "LiveFrom" : "01/01/2017", + "CaseTypeID" : "CARE_SUPERVISION_EPO", + "CaseFieldID" : "hearingDetails", + "UserRole" : "caseworker-publiclaw-courtadmin", + "Label" : "Hearing Details" + }, { "LiveFrom": "01/01/2017", "CaseTypeID": "CARE_SUPERVISION_EPO",