Skip to content

Commit

Permalink
Formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
probation-integration-bot[bot] authored Oct 16, 2024
1 parent 9897dac commit 8cffa22
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ object MessageGenerator {
ResourceLoader.message<CommonPlatformHearing>("common-platform-hearing-validation-error")
val COMMON_PLATFORM_EVENT_NO_CASES =
ResourceLoader.message<CommonPlatformHearing>("common-platform-hearing-no-cases")

}
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8cffa22

Please sign in to comment.