aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorwaynedunican <wayne.dunican@est.tech>2020-09-03 12:56:54 +0100
committerwaynedunican <wayne.dunican@est.tech>2020-09-03 17:17:02 +0100
commit917ebfc9561115b66b03a7bb2a1ade38d3667219 (patch)
treefed344f18ce12df69a5d022401fc734f284d1bdc /plugins
parent6f154bcd5c86bf9027d297df8cbdb8310eb88754 (diff)
Sonar Bug fixes
Removal of remaining bugs in apex-pdp Issue-ID: POLICY-2774 Change-Id: I370796e7c8a41c116155155c33176512e9e0cd91 Signed-off-by: waynedunican <wayne.dunican@est.tech>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/plugins-executor/plugins-executor-javascript/src/test/java/org/onap/policy/apex/plugins/executor/javascript/JavascriptExecutorTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/plugins-executor/plugins-executor-javascript/src/test/java/org/onap/policy/apex/plugins/executor/javascript/JavascriptExecutorTest.java b/plugins/plugins-executor/plugins-executor-javascript/src/test/java/org/onap/policy/apex/plugins/executor/javascript/JavascriptExecutorTest.java
index 948fc02ed..20ba1291f 100644
--- a/plugins/plugins-executor/plugins-executor-javascript/src/test/java/org/onap/policy/apex/plugins/executor/javascript/JavascriptExecutorTest.java
+++ b/plugins/plugins-executor/plugins-executor-javascript/src/test/java/org/onap/policy/apex/plugins/executor/javascript/JavascriptExecutorTest.java
@@ -33,7 +33,7 @@ public class JavascriptExecutorTest {
public void testReturnOK() throws StateMachineException {
JavascriptExecutor executor = new JavascriptExecutor(
new AxArtifactKey("TestTask:0.0.1"), "true;");
- assertThatCode(() -> executor.execute(new Object()));
+ assertThatCode(() -> executor.execute(new Object())).doesNotThrowAnyException();
}
@Test