summaryrefslogtreecommitdiffstats
path: root/controlloop/m2/guard
diff options
context:
space:
mode:
authorHockla, Ali (ah999m) <ah999m@att.com>2020-01-15 15:04:09 -0600
committerHockla, Ali (ah999m) <ah999m@att.com>2020-01-16 10:05:19 -0600
commit25d3e43f27fb4d055af69c6934f3531fef115a02 (patch)
tree297d30eca5c5fa2095c7786cd52aca43f6f77eef /controlloop/m2/guard
parent57fa6609eaac31098f468fde24a9300a38fca7ef (diff)
policy/drools-apps jdk11 upgrades
Issue-ID: POLICY-1587 Change-Id: I02bef6c829f2f24954ae73fb0c540ab7198775ce Signed-off-by: Hockla, Ali (ah999m) <ah999m@att.com>
Diffstat (limited to 'controlloop/m2/guard')
-rw-r--r--controlloop/m2/guard/pom.xml1
-rw-r--r--controlloop/m2/guard/src/test/java/org/onap/policy/guard/GuardContextTest.java6
2 files changed, 3 insertions, 4 deletions
diff --git a/controlloop/m2/guard/pom.xml b/controlloop/m2/guard/pom.xml
index 501151a85..6362ad43b 100644
--- a/controlloop/m2/guard/pom.xml
+++ b/controlloop/m2/guard/pom.xml
@@ -40,7 +40,6 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
- <version>2.13.0</version>
<scope>test</scope>
</dependency>
diff --git a/controlloop/m2/guard/src/test/java/org/onap/policy/guard/GuardContextTest.java b/controlloop/m2/guard/src/test/java/org/onap/policy/guard/GuardContextTest.java
index 1a61d9019..777fc78f0 100644
--- a/controlloop/m2/guard/src/test/java/org/onap/policy/guard/GuardContextTest.java
+++ b/controlloop/m2/guard/src/test/java/org/onap/policy/guard/GuardContextTest.java
@@ -76,7 +76,7 @@ public class GuardContextTest {
}
@Test
- public void guardDbResponseTest() throws InterruptedException {
+ public void testGuardDbResponse() throws InterruptedException {
Properties props = new Properties(prop);
props.setProperty("guard.disabled", "false");
props.setProperty("guard.javax.persistence.jdbc.user", "user");
@@ -99,7 +99,7 @@ public class GuardContextTest {
}
@Test
- public void badValuesTest() throws InterruptedException {
+ public void testBadValues() throws InterruptedException {
Properties props = new Properties(prop);
props.setProperty("guard.disabled", "true");
props.setProperty("guard.pdp.rest.client.user", "");
@@ -120,7 +120,7 @@ public class GuardContextTest {
}
@Test
- public void policyGuardResponseTest() {
+ public void testPolicyGuardResponse() {
UUID requestId = UUID.randomUUID();
PolicyGuardResponse emptyResponse1 = new PolicyGuardResponse(null, null, null);