aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/test/java/org/onap/policy/pap/main/rest/TestPolicyAuditControllerV1.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/TestPolicyAuditControllerV1.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/TestPolicyAuditControllerV1.java')
-rw-r--r--main/src/test/java/org/onap/policy/pap/main/rest/TestPolicyAuditControllerV1.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/src/test/java/org/onap/policy/pap/main/rest/TestPolicyAuditControllerV1.java b/main/src/test/java/org/onap/policy/pap/main/rest/TestPolicyAuditControllerV1.java
index 3764e211..b8f9c988 100644
--- a/main/src/test/java/org/onap/policy/pap/main/rest/TestPolicyAuditControllerV1.java
+++ b/main/src/test/java/org/onap/policy/pap/main/rest/TestPolicyAuditControllerV1.java
@@ -1,7 +1,7 @@
/*-
* ============LICENSE_START=======================================================
* Copyright (C) 2021 Bell Canada. All rights reserved.
- * Modifications Copyright (C) 2022 Nordix Foundation.
+ * Modifications Copyright (C) 2022-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.
@@ -21,15 +21,15 @@ package org.onap.policy.pap.main.rest;
import static org.junit.Assert.assertEquals;
-import javax.ws.rs.client.Invocation;
-import javax.ws.rs.core.Response;
-import org.junit.Test;
+import jakarta.ws.rs.client.Invocation;
+import jakarta.ws.rs.core.Response;
+import org.junit.jupiter.api.Test;
import org.springframework.test.context.ActiveProfiles;
/**
* Note: this tests failure cases; success cases are tested by tests in the "e2e" package.
*/
-@ActiveProfiles({ "test", "default" })
+@ActiveProfiles({"test", "default"})
public class TestPolicyAuditControllerV1 extends CommonPapRestServer {
private static final String POLICY_AUDIT_ENDPOINT = "policies/audit";