diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2020-09-03 17:42:03 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-09-03 17:42:03 +0000 |
commit | 508bdbd4d17ebf3726d92553839cc4b3af922250 (patch) | |
tree | af20a824a4a935a73353111b7268c272c32232af /plugins/plugins-executor | |
parent | 386d8b15efd66cbd176e9911806c55a437cc6376 (diff) | |
parent | 917ebfc9561115b66b03a7bb2a1ade38d3667219 (diff) |
Merge "Sonar Bug fixes"
Diffstat (limited to 'plugins/plugins-executor')
-rw-r--r-- | plugins/plugins-executor/plugins-executor-javascript/src/test/java/org/onap/policy/apex/plugins/executor/javascript/JavascriptExecutorTest.java | 2 |
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 |