diff --git a/projects/common-platform-and-delius/src/integrationTest/kotlin/uk/gov/justice/digital/hmpps/IntegrationTest.kt b/projects/common-platform-and-delius/src/integrationTest/kotlin/uk/gov/justice/digital/hmpps/IntegrationTest.kt index 8ddd10bc57..cc86f17379 100644 --- a/projects/common-platform-and-delius/src/integrationTest/kotlin/uk/gov/justice/digital/hmpps/IntegrationTest.kt +++ b/projects/common-platform-and-delius/src/integrationTest/kotlin/uk/gov/justice/digital/hmpps/IntegrationTest.kt @@ -282,7 +282,8 @@ internal class IntegrationTest { val topic = hmppsChannelManager.getChannel(topicName) val messages = topic.pollFor(1) - val engagementCreated = messages.first { it.eventType == "probation-case.engagement.created" }.message as HmppsDomainEvent + val engagementCreated = + messages.first { it.eventType == "probation-case.engagement.created" }.message as HmppsDomainEvent assertEquals("probation-case.engagement.created", engagementCreated.eventType) assertEquals(1, engagementCreated.version)