summaryrefslogtreecommitdiffstats
path: root/integrity-monitor/src/test
diff options
context:
space:
mode:
authorMagnusen, Drew (dm741q) <dm741q@att.com>2017-08-11 13:19:34 -0500
committerMagnusen, Drew (dm741q) <dm741q@att.com>2017-08-15 08:58:28 -0500
commitd1077082cafafdd275aa8e210cf5f430ec11934d (patch)
treed42af9f948cb583af4be6ecc5fa661d4ac313771 /integrity-monitor/src/test
parent8e9b3d288bc5b51f691183715d5862489f09d95d (diff)
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) <dm741q@att.com>
Diffstat (limited to 'integrity-monitor/src/test')
-rw-r--r--integrity-monitor/src/test/java/org/onap/policy/common/im/test/IntegrityMonitorTest.java2
1 files changed, 1 insertions, 1 deletions
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);