From d1077082cafafdd275aa8e210cf5f430ec11934d Mon Sep 17 00:00:00 2001 From: "Magnusen, Drew (dm741q)" Date: Fri, 11 Aug 2017 13:19:34 -0500 Subject: Resolve major/critical issues in integrity-monitor Resolved major and critical sonar issues in integrity-monitor module. Issue-ID: [POLICY-96] Change-Id: If1da196134a73535668d42f429d647fc819ecaee Signed-off-by: Magnusen, Drew (dm741q) --- .../test/java/org/onap/policy/common/im/test/IntegrityMonitorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'integrity-monitor/src/test/java') diff --git a/integrity-monitor/src/test/java/org/onap/policy/common/im/test/IntegrityMonitorTest.java b/integrity-monitor/src/test/java/org/onap/policy/common/im/test/IntegrityMonitorTest.java index afa2ca94..b914bb04 100644 --- a/integrity-monitor/src/test/java/org/onap/policy/common/im/test/IntegrityMonitorTest.java +++ b/integrity-monitor/src/test/java/org/onap/policy/common/im/test/IntegrityMonitorTest.java @@ -79,7 +79,7 @@ public class IntegrityMonitorTest { @Before public void setUp() throws Exception { - IntegrityMonitor.isUnitTesting = true; + IntegrityMonitor.setUnitTesting(true); myProp = new Properties(); myProp.put(IntegrityMonitorProperties.DB_DRIVER, IntegrityMonitorProperties.DEFAULT_DB_DRIVER); -- cgit 1.2.3-korg