summaryrefslogtreecommitdiffstats
path: root/aai-core/src/test/java
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-01-10 16:27:15 +0100
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-01-10 16:27:15 +0100
commit64ba3c1816fc85d24ca2de935a5263608fd7b23f (patch)
tree182f2b244a630c7f07a5b1cfe7736d6ada78578c /aai-core/src/test/java
parent09fd390a6f265419edcc8d1225a43b9a85dcd76a (diff)
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 <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'aai-core/src/test/java')
-rw-r--r--aai-core/src/test/java/org/onap/aai/prevalidation/ValidationServiceTest.java4
-rw-r--r--aai-core/src/test/java/org/onap/aai/serialization/db/ImpliedDeleteUnitTest.java4
2 files changed, 4 insertions, 4 deletions
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() {