This is an automated email from the ASF dual-hosted git repository.

vishwasbabu pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new b03e70f  FINERACT-718
     new 210e380  Merge pull request #551 from vishwasbabu/develop
b03e70f is described below

commit b03e70fa9ecbc1a2ed592861017118520e6f60fd
Author: Vishwas Babu A J <[email protected]>
AuthorDate: Fri Mar 22 12:48:09 2019 -0700

    FINERACT-718
---
 .../integrationtests/common/shares/ShareAccountIntegrationTests.java   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/common/shares/ShareAccountIntegrationTests.java
 
b/fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/common/shares/ShareAccountIntegrationTests.java
index 8fb7f62..94c3400 100644
--- 
a/fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/common/shares/ShareAccountIntegrationTests.java
+++ 
b/fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/common/shares/ShareAccountIntegrationTests.java
@@ -213,7 +213,6 @@ public class ShareAccountIntegrationTests {
     }
     
     @Test
-    @Ignore
     @SuppressWarnings("unchecked")
     public void rejectShareAccount() {
         shareProductHelper = new ShareProductHelper();
@@ -270,7 +269,7 @@ public class ShareAccountIntegrationTests {
             String transactionType = (String) transactionTypeMap.get("code");
             if (transactionType.equals("purchasedSharesType.purchased")) {
                 Assert.assertEquals("25", 
String.valueOf(transaction.get("numberOfShares")));
-                Assert.assertEquals("52.0", 
String.valueOf(transaction.get("amount")));
+                Assert.assertEquals("50.0", 
String.valueOf(transaction.get("amount")));
                 Assert.assertEquals("50.0", 
String.valueOf(transaction.get("amountPaid")));
                 Assert.assertEquals("2.0", 
String.valueOf(transaction.get("chargeAmount")));
                 Assert.assertEquals("2.0", 
String.valueOf(transaction.get("purchasedPrice")));

Reply via email to