Skip to content

Commit

Permalink
Merge branch 'ab_PI-2729_update_filter' of github-moj:ministryofjusti…
Browse files Browse the repository at this point in the history
…ce/hmpps-probation-integration-services into ab_PI-2729_update_filter
  • Loading branch information
anthony-britton-moj committed Jan 17, 2025
2 parents 5b6d69e + 3a04dc8 commit a207a27
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,13 @@ class CaseNotesIntegrationTest {
fun `case note not of interest - noop`() {
val existing = CaseNoteMessageGenerator.EXISTS_IN_DELIUS
channelManager.getChannel(queueName).publishAndWait(
prepNotification(existing.copy(
attributes = MessageAttributes(existing.eventType!!).apply {
this["type"] = MessageAttribute("String", "NOTOF")
this["subType"] = MessageAttribute("String", "INTEREST")
}
), wireMockserver.port())
prepNotification(
existing.copy(
attributes = MessageAttributes(existing.eventType!!).apply {
this["type"] = MessageAttribute("String", "NOTOF")
this["subType"] = MessageAttribute("String", "INTEREST")
}
), wireMockserver.port())
)

verify(telemetryService, never()).trackEvent(eq(CASE_NOTE_MERGED), anyMap(), anyMap())
Expand Down

0 comments on commit a207a27

Please sign in to comment.