Skip to content

Commit

Permalink
fix constant names [#4]
Browse files Browse the repository at this point in the history
  • Loading branch information
dnl-blkv committed Sep 6, 2017
1 parent 474dde8 commit 129d3aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/java/com/bunq/sdk/http/PaginationScenarioTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ public class PaginationScenarioTest extends BunqSdkTestBase {
/**
* Constants for payment creation.
*/
private final static String AMOUNT_EUR = "0.01";
private final static String CURRENCY = "EUR";
private final static String PAYMENT_AMOUNT_EUR = "0.01";
private final static String PAYMENT_CURRENCY = "EUR";
private final static String PAYMENT_DESCRIPTION = "Java test Payment";

/**
Expand Down Expand Up @@ -104,7 +104,7 @@ private static BunqResponse<List<Payment>> ListPayments(Map<String, String> urlP
private static void CreatePayment()
{
Map<String, Object> requestMap = new HashMap<>();
requestMap.put(Payment.FIELD_AMOUNT, new Amount(AMOUNT_EUR, CURRENCY));
requestMap.put(Payment.FIELD_AMOUNT, new Amount(PAYMENT_AMOUNT_EUR, PAYMENT_CURRENCY));
requestMap.put(Payment.FIELD_DESCRIPTION, PAYMENT_DESCRIPTION);
requestMap.put(Payment.FIELD_COUNTERPARTY_ALIAS, counterPartyAliasOther);

Expand Down

0 comments on commit 129d3aa

Please sign in to comment.