From 969478752d8d80289509a79b139b7839bbcaeeb7 Mon Sep 17 00:00:00 2001 From: yaphet17 Date: Sun, 23 Apr 2023 14:41:27 +0300 Subject: [PATCH] Fix wrong method call --- src/test/java/com/yaphet/chapa/ChapaTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/com/yaphet/chapa/ChapaTest.java b/src/test/java/com/yaphet/chapa/ChapaTest.java index 2132e6c..ef7d2f1 100644 --- a/src/test/java/com/yaphet/chapa/ChapaTest.java +++ b/src/test/java/com/yaphet/chapa/ChapaTest.java @@ -3,6 +3,7 @@ import com.google.gson.Gson; import com.yaphet.chapa.client.ChapaClientImpl; import com.yaphet.chapa.model.*; +import com.yaphet.chapa.utility.Util; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -206,7 +207,7 @@ public void testDefault() throws Throwable { subAccount = new SubAccount() .setBusinessName("Abebe Suq") .setAccountName("Abebe Bikila") - .setAccountName("0123456789") + .setAccountNumber("0123456789") .setBankCode("96e41186-29ba-4e30-b013-2ca36d7e7025") .setSplitType(SplitType.PERCENTAGE) .setSplitValue(0.2);