From 917ebfc9561115b66b03a7bb2a1ade38d3667219 Mon Sep 17 00:00:00 2001 From: waynedunican Date: Thu, 3 Sep 2020 12:56:54 +0100 Subject: Sonar Bug fixes Removal of remaining bugs in apex-pdp Issue-ID: POLICY-2774 Change-Id: I370796e7c8a41c116155155c33176512e9e0cd91 Signed-off-by: waynedunican --- .../policy/apex/plugins/executor/javascript/JavascriptExecutorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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 -- cgit 1.2.3-korg