From a7ad0ce933ce7c6cde74353ec708477db1101b1f Mon Sep 17 00:00:00 2001 From: Anthony Britton Date: Wed, 25 Oct 2023 08:30:11 +0100 Subject: [PATCH] ktlintFormat --- .../gov/justice/digital/hmpps/data/DataLoader.kt | 14 ++++++++------ .../hmpps/AllocationMessagingIntegrationTest.kt | 1 - 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/projects/manage-pom-cases-and-delius/src/dev/kotlin/uk/gov/justice/digital/hmpps/data/DataLoader.kt b/projects/manage-pom-cases-and-delius/src/dev/kotlin/uk/gov/justice/digital/hmpps/data/DataLoader.kt index c253d49377..65facf5e5b 100644 --- a/projects/manage-pom-cases-and-delius/src/dev/kotlin/uk/gov/justice/digital/hmpps/data/DataLoader.kt +++ b/projects/manage-pom-cases-and-delius/src/dev/kotlin/uk/gov/justice/digital/hmpps/data/DataLoader.kt @@ -79,12 +79,14 @@ class DataLoader( RegistrationGenerator.TYPE_DASO ) ) - contactTypeRepository.saveAll(ContactType.Code.entries.map { - ContactType( - it.value, - IdGenerator.getAndIncrement() - ) - }) + contactTypeRepository.saveAll( + ContactType.Code.entries.map { + ContactType( + it.value, + IdGenerator.getAndIncrement() + ) + } + ) districtRepository.save(ProviderGenerator.DEFAULT_DISTRICT) teamRepository.saveAll(PersonManagerGenerator.ALL.map { it.team } + ProviderGenerator.POM_TEAM) diff --git a/projects/manage-pom-cases-and-delius/src/integrationTest/kotlin/uk/gov/justice/digital/hmpps/AllocationMessagingIntegrationTest.kt b/projects/manage-pom-cases-and-delius/src/integrationTest/kotlin/uk/gov/justice/digital/hmpps/AllocationMessagingIntegrationTest.kt index 43b2dfd1b1..45a5d66030 100644 --- a/projects/manage-pom-cases-and-delius/src/integrationTest/kotlin/uk/gov/justice/digital/hmpps/AllocationMessagingIntegrationTest.kt +++ b/projects/manage-pom-cases-and-delius/src/integrationTest/kotlin/uk/gov/justice/digital/hmpps/AllocationMessagingIntegrationTest.kt @@ -2,7 +2,6 @@ package uk.gov.justice.digital.hmpps import com.github.tomakehurst.wiremock.WireMockServer import org.hamcrest.MatcherAssert.assertThat -import org.hamcrest.Matchers.containsInAnyOrder import org.hamcrest.Matchers.equalTo import org.hamcrest.Matchers.hasItems import org.junit.jupiter.api.Assertions.assertNotNull