Skip to content

Conversation

AlexandrosMor
Copy link
Contributor

No description provided.

@coveralls
Copy link

coveralls commented Mar 29, 2019

Coverage Status

Coverage increased (+0.5%) to 24.992% when pulling d916f14 on feature/sepadirectdebit into d92e32e on develop.

@AlexandrosMor AlexandrosMor mentioned this pull request Apr 1, 2019
defaultPaymentMethodDetails.setSepaIbanNumber("DE87123456781234567890");

PaymentsRequest paymentsRequest = createPaymentsCheckoutRequest();
paymentsRequest.setApplicationInfo(null);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is redundant. please remove null assignment.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to remove the application info because the version is always updating and the mock request is not.

public void TestSepaPaymentMethodDetails() {
DefaultPaymentMethodDetails defaultPaymentMethodDetails=new DefaultPaymentMethodDetails();
defaultPaymentMethodDetails.type(TYPE_SEPA_DIRECT_DEBIT);
defaultPaymentMethodDetails.setSepaOwnerName("A. Schneider");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This type constant is not needed.

@AlexandrosMor AlexandrosMor merged commit 74a3e82 into develop Apr 3, 2019
@AlexandrosMor AlexandrosMor deleted the feature/sepadirectdebit branch April 3, 2019 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants