fixed test case to correctly initialize the settings

This commit is contained in:
Jeremy Long
2015-10-12 06:43:32 -04:00
parent 30ae418c2c
commit 0ce830ca9d

View File

@@ -26,6 +26,7 @@ import org.junit.Before;
import org.junit.BeforeClass; import org.junit.BeforeClass;
import org.junit.Test; import org.junit.Test;
import org.owasp.dependencycheck.dependency.VulnerableSoftware; import org.owasp.dependencycheck.dependency.VulnerableSoftware;
import org.owasp.dependencycheck.utils.Settings;
/** /**
* *
@@ -35,10 +36,12 @@ public class CveDBMySQLTest {
@BeforeClass @BeforeClass
public static void setUpClass() { public static void setUpClass() {
Settings.initialize();
} }
@AfterClass @AfterClass
public static void tearDownClass() { public static void tearDownClass() {
Settings.cleanup();
} }
@Before @Before