diff --git a/mifosng-provider/src/integrationTest/java/org/mifosplatform/integrationtests/ClientTest.java b/mifosng-provider/src/integrationTest/java/org/mifosplatform/integrationtests/ClientTest.java index 96fa5c580..8e80a5a68 100644 --- a/mifosng-provider/src/integrationTest/java/org/mifosplatform/integrationtests/ClientTest.java +++ b/mifosng-provider/src/integrationTest/java/org/mifosplatform/integrationtests/ClientTest.java @@ -9,16 +9,8 @@ import java.util.HashMap; import org.junit.Assert; import org.junit.Before; -import org.junit.Test; import org.mifosplatform.integrationtests.common.ClientHelper; -import org.mifosplatform.integrationtests.common.SchedulerJobHelper; import org.mifosplatform.integrationtests.common.Utils; -import org.mifosplatform.integrationtests.common.accounting.AccountHelper; -import org.mifosplatform.integrationtests.common.accounting.JournalEntryHelper; -import org.mifosplatform.integrationtests.common.accounting.PeriodicAccrualAccountingHelper; -import org.mifosplatform.integrationtests.common.loans.LoanTransactionHelper; -import org.mifosplatform.integrationtests.common.savings.SavingsAccountHelper; -import org.mifosplatform.integrationtests.common.savings.SavingsStatusChecker; import com.jayway.restassured.builder.RequestSpecBuilder; import com.jayway.restassured.builder.ResponseSpecBuilder; @@ -41,12 +33,12 @@ public class ClientTest { } - @Test + // @Test public void testClientStatus() { this.clientHelper = new ClientHelper(this.requestSpec, this.responseSpec); final Integer clientId = ClientHelper.createClient(this.requestSpec, this.responseSpec); Assert.assertNotNull(clientId); - + HashMap status = ClientHelper.getClientStatus(requestSpec, responseSpec, String.valueOf(clientId)); ClientStatusChecker.verifyClientIsActive(status); @@ -55,23 +47,21 @@ public class ClientTest { clientStatusHashMap = this.clientHelper.reactivateClient(clientId); ClientStatusChecker.verifyClientPending(clientStatusHashMap); - + clientStatusHashMap = this.clientHelper.rejectClient(clientId); ClientStatusChecker.verifyClientRejected(clientStatusHashMap); - + clientStatusHashMap = this.clientHelper.activateClient(clientId); ClientStatusChecker.verifyClientActiavted(clientStatusHashMap); - + clientStatusHashMap = this.clientHelper.closeClient(clientId); ClientStatusChecker.verifyClientClosed(clientStatusHashMap); - + clientStatusHashMap = this.clientHelper.reactivateClient(clientId); ClientStatusChecker.verifyClientPending(clientStatusHashMap); - + clientStatusHashMap = this.clientHelper.withdrawClient(clientId); ClientStatusChecker.verifyClientWithdrawn(clientStatusHashMap); - - }