diff --git a/build.gradle b/build.gradle index 7ad12143b..9181a1cc0 100644 --- a/build.gradle +++ b/build.gradle @@ -165,7 +165,7 @@ dependencies { implementation group: 'net.logstash.logback', name: 'logstash-logback-encoder', version: '7.4' implementation group: 'uk.gov.service.notify', name: 'notifications-java-client', version: '4.1.1-RELEASE' - implementation group: 'com.github.hmcts', name: 'pip-data-models', version: '2.1.14', { + implementation group: 'com.github.hmcts', name: 'pip-data-models', version: '2.1.17', { exclude group: 'org.springframework.boot', module: 'spring-boot-starter-data-jpa' } diff --git a/src/test/java/uk/gov/hmcts/reform/pip/publication/services/service/PersonalisationServiceTest.java b/src/test/java/uk/gov/hmcts/reform/pip/publication/services/service/PersonalisationServiceTest.java index fd026ce05..abdffdf14 100644 --- a/src/test/java/uk/gov/hmcts/reform/pip/publication/services/service/PersonalisationServiceTest.java +++ b/src/test/java/uk/gov/hmcts/reform/pip/publication/services/service/PersonalisationServiceTest.java @@ -377,14 +377,13 @@ void buildRawDataNonSjpEnglishWhenAllPresent() { assertNotNull(contentDate, CONTENT_DATE_ASSERT_MESSAGE); } - @ParameterizedTest - @EnumSource(value = Language.class, names = {"WELSH", "BI_LINGUAL"}) - void buildRawDataNonSjpNonEnglishWhenAllPresent(Language language) { + @Test + void buildRawDataNonSjpWelshWhenAllPresent() { Artefact artefact = new Artefact(); artefact.setArtefactId(UUID.randomUUID()); artefact.setContentDate(LocalDateTime.now()); artefact.setListType(ListType.COP_DAILY_CAUSE_LIST); - artefact.setLanguage(language); + artefact.setLanguage(Language.WELSH); when(dataManagementService.getLocation(LOCATION_ID)).thenReturn(location); when(channelManagementService.getArtefactSummary(any())).thenReturn(HELLO);