From a0a2817730b5d02f449f13bd107c300e8a8854b2 Mon Sep 17 00:00:00 2001 From: geethkokila Date: Mon, 22 Jan 2018 15:19:24 +0530 Subject: [PATCH] Changing the variable name --- .../policy/mgt/core/PolicyManagerServiceImplTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/test/java/org/wso2/carbon/policy/mgt/core/PolicyManagerServiceImplTest.java b/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/test/java/org/wso2/carbon/policy/mgt/core/PolicyManagerServiceImplTest.java index adddbfd3f0..0f17393128 100644 --- a/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/test/java/org/wso2/carbon/policy/mgt/core/PolicyManagerServiceImplTest.java +++ b/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/test/java/org/wso2/carbon/policy/mgt/core/PolicyManagerServiceImplTest.java @@ -254,8 +254,8 @@ public class PolicyManagerServiceImplTest extends BasePolicyManagementDAOTest { List deviceList = new ArrayList<>(); deviceList.add(device); - MonitoringManager mm = new MonitoringManagerImpl(); - mm.addMonitoringOperation(deviceList); + MonitoringManager manager = new MonitoringManagerImpl(); + manager.addMonitoringOperation(deviceList); policyManagerService.checkCompliance(new DeviceIdentifier(DEVICE1, DEVICE_TYPE_A), complianceFeatures); boolean deviceCompliance = policyManagerService.isCompliant(new DeviceIdentifier(DEVICE1, DEVICE_TYPE_A)); @@ -284,9 +284,9 @@ public class PolicyManagerServiceImplTest extends BasePolicyManagementDAOTest { List deviceList = new ArrayList<>(); deviceList.add(device); - MonitoringManager mm = new MonitoringManagerImpl(); - mm.addMonitoringOperation(deviceList); - + MonitoringManager manager = new MonitoringManagerImpl(); + manager.addMonitoringOperation(deviceList); + policyManagerService.checkCompliance(new DeviceIdentifier(DEVICE1, DEVICE_TYPE_A), complianceFeatures); boolean deviceCompliance = policyManagerService.isCompliant(new DeviceIdentifier(DEVICE1, DEVICE_TYPE_A)); Assert.assertFalse(deviceCompliance, "Policy was compliant even though the response was not compliant");