From 64ba3c1816fc85d24ca2de935a5263608fd7b23f Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Wed, 10 Jan 2024 16:27:15 +0100 Subject: Update spring boot to 2.3 - update to 2.3 - bump version of all submodules to 1.13.1-SNAPSHOT Issue-ID: AAI-3724 Change-Id: Id089e27b236476907c4e7ca7e51d72b74d387d1c Signed-off-by: Fiete Ostkamp --- .../test/java/org/onap/aai/prevalidation/ValidationServiceTest.java | 4 ++-- .../java/org/onap/aai/serialization/db/ImpliedDeleteUnitTest.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'aai-core/src/test') diff --git a/aai-core/src/test/java/org/onap/aai/prevalidation/ValidationServiceTest.java b/aai-core/src/test/java/org/onap/aai/prevalidation/ValidationServiceTest.java index 7f6e5610..8ef1d706 100644 --- a/aai-core/src/test/java/org/onap/aai/prevalidation/ValidationServiceTest.java +++ b/aai-core/src/test/java/org/onap/aai/prevalidation/ValidationServiceTest.java @@ -42,7 +42,7 @@ import org.mockito.Mockito; import org.onap.aai.PayloadUtil; import org.onap.aai.exceptions.AAIException; import org.onap.aai.restclient.RestClient; -import org.springframework.boot.test.rule.OutputCapture; +import org.springframework.boot.test.system.OutputCaptureRule; import org.springframework.http.HttpMethod; import org.springframework.http.ResponseEntity; @@ -53,7 +53,7 @@ public class ValidationServiceTest { private ValidationService validationService; @Rule - public OutputCapture capture = new OutputCapture(); + public OutputCaptureRule capture = new OutputCaptureRule(); private Gson gson; diff --git a/aai-core/src/test/java/org/onap/aai/serialization/db/ImpliedDeleteUnitTest.java b/aai-core/src/test/java/org/onap/aai/serialization/db/ImpliedDeleteUnitTest.java index 27f52d1b..d1aee226 100644 --- a/aai-core/src/test/java/org/onap/aai/serialization/db/ImpliedDeleteUnitTest.java +++ b/aai-core/src/test/java/org/onap/aai/serialization/db/ImpliedDeleteUnitTest.java @@ -36,7 +36,7 @@ import org.onap.aai.introspection.Introspector; import org.onap.aai.serialization.engines.TransactionalGraphEngine; import org.onap.aai.serialization.engines.query.QueryEngine; import org.onap.aai.util.AAIConstants; -import org.springframework.boot.test.rule.OutputCapture; +import org.springframework.boot.test.system.OutputCaptureRule; public class ImpliedDeleteUnitTest { @@ -46,7 +46,7 @@ public class ImpliedDeleteUnitTest { private ImpliedDelete impliedDelete; @Rule - public final OutputCapture outputCapture = new OutputCapture(); + public final OutputCaptureRule outputCapture = new OutputCaptureRule(); @Before public void setup() { -- cgit 1.2.3-korg