diff --git a/projects/common-platform-and-delius/src/dev/kotlin/uk/gov/justice/digital/hmpps/data/generator/MessageGenerator.kt b/projects/common-platform-and-delius/src/dev/kotlin/uk/gov/justice/digital/hmpps/data/generator/MessageGenerator.kt index 56a7c48749..3da2c8634c 100644 --- a/projects/common-platform-and-delius/src/dev/kotlin/uk/gov/justice/digital/hmpps/data/generator/MessageGenerator.kt +++ b/projects/common-platform-and-delius/src/dev/kotlin/uk/gov/justice/digital/hmpps/data/generator/MessageGenerator.kt @@ -9,5 +9,4 @@ object MessageGenerator { ResourceLoader.message("common-platform-hearing-validation-error") val COMMON_PLATFORM_EVENT_NO_CASES = ResourceLoader.message("common-platform-hearing-no-cases") - } diff --git a/projects/common-platform-and-delius/src/test/kotlin/uk/gov/justice/digital/hmpps/messaging/HandlerTest.kt b/projects/common-platform-and-delius/src/test/kotlin/uk/gov/justice/digital/hmpps/messaging/HandlerTest.kt index 0a8c1b5056..db3538fa50 100644 --- a/projects/common-platform-and-delius/src/test/kotlin/uk/gov/justice/digital/hmpps/messaging/HandlerTest.kt +++ b/projects/common-platform-and-delius/src/test/kotlin/uk/gov/justice/digital/hmpps/messaging/HandlerTest.kt @@ -41,7 +41,12 @@ internal class HandlerTest { @Test fun `message is logged to telemetry`() { - whenever(probationSearchClient.match(any())).thenReturn(ProbationMatchResponse(matches = emptyList(), matchedBy = "NONE")) + whenever(probationSearchClient.match(any())).thenReturn( + ProbationMatchResponse( + matches = emptyList(), + matchedBy = "NONE" + ) + ) whenever(personService.generateCrn()).thenReturn("A000001") whenever(referenceDataRepository.findByCode("M")).thenReturn(ReferenceDataGenerator.GENDER_MALE) val notification = Notification(message = MessageGenerator.COMMON_PLATFORM_EVENT)