From ad4a9b15afa37d6483111e3f015d99bd57338bc9 Mon Sep 17 00:00:00 2001 From: Nigel Pain Date: Tue, 12 Nov 2024 13:40:46 +0000 Subject: [PATCH 1/2] 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; From 454154bf317bc15e8dbae7c6d53f768fb8b814a6 Mon Sep 17 00:00:00 2001 From: Nigel Pain Date: Fri, 29 Nov 2024 14:23:07 +0000 Subject: [PATCH 2/2] updated mod schemas dependency to latest version --- crime-evidence/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crime-evidence/build.gradle b/crime-evidence/build.gradle index f208b7a..db3d209 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.19.0-SNAPSHOT", + commonsModSchemas : "1.20.1", commonsRestClient : "3.18.0", wmStubRunnerVersion : "4.1.2", springDocWebMVCVersion: "2.5.0",