aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/test/java/org/onap/policy/pap/main/rest/TestGroupData.java
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2023-08-17 22:09:58 +0100
committeradheli.tavares <adheli.tavares@est.tech>2023-08-17 22:10:28 +0100
commit08d36423f39ad97783221b6144111a663b6fbfc8 (patch)
tree2df4d626cb4a303c5051e0c988fb40e6de76aa74 /main/src/test/java/org/onap/policy/pap/main/rest/TestGroupData.java
parenteb4cf2ad5d004cbfda90a752d10fbc6e91ef8fb4 (diff)
Java 17 / Spring 6 / Spring Boot 3 Upgrade
Issue-ID: POLICY-4671 Change-Id: I249416af830db638a314325e45948015a21134d4 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'main/src/test/java/org/onap/policy/pap/main/rest/TestGroupData.java')
-rw-r--r--main/src/test/java/org/onap/policy/pap/main/rest/TestGroupData.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/main/src/test/java/org/onap/policy/pap/main/rest/TestGroupData.java b/main/src/test/java/org/onap/policy/pap/main/rest/TestGroupData.java
index 5eb5611f..47c4c28e 100644
--- a/main/src/test/java/org/onap/policy/pap/main/rest/TestGroupData.java
+++ b/main/src/test/java/org/onap/policy/pap/main/rest/TestGroupData.java
@@ -3,6 +3,7 @@
* ONAP PAP
* ================================================================================
* Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
+ * Modifications Copyright (C) 2023 Nordix Foundation.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,8 +26,8 @@ import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertSame;
import static org.junit.Assert.assertTrue;
-import org.junit.Before;
-import org.junit.Test;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
import org.onap.policy.models.pdp.concepts.PdpGroup;
public class TestGroupData {
@@ -39,7 +40,7 @@ public class TestGroupData {
/**
* Sets up.
*/
- @Before
+ @BeforeEach
public void setUp() {
oldGroup = new PdpGroup();
oldGroup.setName(NAME);