From ad4a9b15afa37d6483111e3f015d99bd57338bc9 Mon Sep 17 00:00:00 2001 From: Nigel Pain Date: Tue, 12 Nov 2024 13:40:46 +0000 Subject: [PATCH] updated test model builder to use common ApiUserSession --- crime-evidence/build.gradle | 2 +- .../laa/crime/evidence/data/builder/TestModelDataBuilder.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crime-evidence/build.gradle b/crime-evidence/build.gradle index 7dd9a87..f208b7a 100644 --- a/crime-evidence/build.gradle +++ b/crime-evidence/build.gradle @@ -16,7 +16,7 @@ jacoco { def versions = [ pitest : "1.16.0", crimeCommonsClasses : "3.29.3", - commonsModSchemas : "1.17.0", + commonsModSchemas : "1.19.0-SNAPSHOT", commonsRestClient : "3.18.0", wmStubRunnerVersion : "4.1.2", springDocWebMVCVersion: "2.5.0", diff --git a/crime-evidence/src/test/java/uk/gov/justice/laa/crime/evidence/data/builder/TestModelDataBuilder.java b/crime-evidence/src/test/java/uk/gov/justice/laa/crime/evidence/data/builder/TestModelDataBuilder.java index d68d37b..1496c0e 100644 --- a/crime-evidence/src/test/java/uk/gov/justice/laa/crime/evidence/data/builder/TestModelDataBuilder.java +++ b/crime-evidence/src/test/java/uk/gov/justice/laa/crime/evidence/data/builder/TestModelDataBuilder.java @@ -3,6 +3,7 @@ import java.math.BigDecimal; import java.util.Collections; import org.springframework.stereotype.Component; +import uk.gov.justice.laa.crime.common.model.common.ApiUserSession; import uk.gov.justice.laa.crime.common.model.evidence.*; import uk.gov.justice.laa.crime.enums.EmploymentStatus; import uk.gov.justice.laa.crime.enums.EvidenceFeeLevel;