Code Review
/
cli.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fixed Sonar Bug and Code Smell Blockers
[cli.git]
/
framework
/
src
/
test
/
java
/
org
/
onap
/
cli
/
fw
/
conf
/
OnapCommandConfgTest.java
diff --git
a/framework/src/test/java/org/onap/cli/fw/conf/OnapCommandConfgTest.java
b/framework/src/test/java/org/onap/cli/fw/conf/OnapCommandConfgTest.java
index
ae62063
..
aa6da88
100644
(file)
--- a/
framework/src/test/java/org/onap/cli/fw/conf/OnapCommandConfgTest.java
+++ b/
framework/src/test/java/org/onap/cli/fw/conf/OnapCommandConfgTest.java
@@
-17,13
+17,13
@@
package org.onap.cli.fw.conf;
import org.junit.Test;
package org.onap.cli.fw.conf;
import org.junit.Test;
+import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
public class OnapCommandConfgTest {
@Test
public void addPropertiesTest() {
public class OnapCommandConfgTest {
@Test
public void addPropertiesTest() {
-
- OnapCommandConfig.getPropertyValue("cli.schema.profile.confs");
+ assertDoesNotThrow(() -> OnapCommandConfig.getPropertyValue("cli.schema.profile.confs"));
}
}
}
}