aboutsummaryrefslogtreecommitdiffstats
path: root/vnftools/provider/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'vnftools/provider/src/test')
-rw-r--r--vnftools/provider/src/test/java/org/onap/sdnc/vnftools/VnfToolsTest.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/vnftools/provider/src/test/java/org/onap/sdnc/vnftools/VnfToolsTest.java b/vnftools/provider/src/test/java/org/onap/sdnc/vnftools/VnfToolsTest.java
index b30ff86f..3cafa8ae 100644
--- a/vnftools/provider/src/test/java/org/onap/sdnc/vnftools/VnfToolsTest.java
+++ b/vnftools/provider/src/test/java/org/onap/sdnc/vnftools/VnfToolsTest.java
@@ -42,14 +42,12 @@ public class VnfToolsTest {
@Before
public void setUp() throws Exception {
- vnfTools = new VnfTools(null);
+ vnfTools = new VnfTools();
}
@Test
public void testConstructor() throws Exception {
- VnfTools vTools = new VnfTools(null);
- Assert.assertTrue("Should have no impact with null property", vTools != null);
- vTools = new VnfTools(new Properties());
+ VnfTools vTools = new VnfTools();
Assert.assertTrue("Should have created", vTools != null);
}
@@ -171,7 +169,7 @@ public class VnfToolsTest {
@Test
public void testPrintContext() throws Exception {
Map<String, String> parameters = new HashMap<>();
- parameters.put(VnfTools.FILENAME, "abc");
+ parameters.put(VnfTools.FILENAME, "target/testPrintContext.out");
vnfTools.printContext(parameters, mockSvcLogicContext);
}