From aa214aea920644009e64e1b30b4dcb043f6c1f90 Mon Sep 17 00:00:00 2001 From: shahrahul1985 Date: Wed, 19 Aug 2015 11:29:37 +0530 Subject: [PATCH] MIFOSX-2154: Fix the integration test for ExternalServicesConfigurationTest --- .../integrationtests/ExternalServicesConfigurationTest.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mifosng-provider/src/integrationTest/java/org/mifosplatform/integrationtests/ExternalServicesConfigurationTest.java b/mifosng-provider/src/integrationTest/java/org/mifosplatform/integrationtests/ExternalServicesConfigurationTest.java index 55d950580..fa1b9c64a 100644 --- a/mifosng-provider/src/integrationTest/java/org/mifosplatform/integrationtests/ExternalServicesConfigurationTest.java +++ b/mifosng-provider/src/integrationTest/java/org/mifosplatform/integrationtests/ExternalServicesConfigurationTest.java @@ -52,6 +52,9 @@ public class ExternalServicesConfigurationTest { String value = null; if (name.equals(configName)) { value = (String) externalServicesConfig.get(configIndex).get("value"); + if(value == null){ + value = "testnull"; + } String newValue = "test"; System.out.println(name + ":" + value); HashMap arrayListValue = this.externalServicesConfigurationHelper.updateValueForExternaServicesConfiguration(requestSpec, @@ -77,6 +80,9 @@ public class ExternalServicesConfigurationTest { String value = null; if (name.equals(configName)) { value = (String) externalServicesConfig.get(configIndex).get("value"); + if(value == null){ + value = "testnull"; + } String newValue = "test"; System.out.println(name + ":" + value); HashMap arrayListValue = this.externalServicesConfigurationHelper.updateValueForExternaServicesConfiguration(requestSpec,