Skip to content

Conversation

dyurchenko-epam
Copy link
Contributor

@coveralls
Copy link

coveralls commented Nov 25, 2019

Coverage Status

Coverage increased (+0.003%) to 99.637% when pulling 4012f2e on HW-51698-add-paypal-account-status-transitions-java into eb5fd8c on master.

transition.setCreatedOn(null);
transition.setFromStatus(null);
transition.setToStatus(null);
return apiClient.post(url + "/users/" + userToken + "/PayPal-accounts/" + payPalAccountToken + "/status-transitions", transition, HyperwalletStatusTransition.class);
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we need upper case in url, instead of "/paypal-accounts/"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was confused with incorrect example, I have already corrected it

}

@Test
public void testDeactivatePayPalAccountStatusTransition_noPaperCheckToken() throws Exception {
Copy link
Contributor

Choose a reason for hiding this comment

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

noPayPalAccountToken

Copy link
Contributor Author

Choose a reason for hiding this comment

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

corrected

* Deactivate a PayPal Account
*
* @param userToken User token
* @param payPalAccountToken PayPal Account token
Copy link
Contributor

Choose a reason for hiding this comment

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

@param notes is missing here

*
* @param userToken User token
* @param payPalAccountToken PayPal Account token
* @return The status transition
Copy link
Contributor

Choose a reason for hiding this comment

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

@return HyperwalletStatusTransition deactivated PayPal account

}

@Test
public void testCreatePayPalAccountStatusTransition_noPaperCheckToken() {
Copy link
Contributor

Choose a reason for hiding this comment

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

_noPayPalAccountToken

}

@Test
public void testGetPayPalAccountStatusTransition_noPaperCheckToken() {
Copy link
Contributor

Choose a reason for hiding this comment

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

_noPayPalAccountToken

}

@Test
public void testListPayPalAccountStatusTransitions_noParameters_noPaperCheckToken() throws Exception {
Copy link
Contributor

Choose a reason for hiding this comment

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

_noPayPalAccountToken

}

@Test
public void testListPayPalAccountStatusTransitions_withParameters_noPaperCheckToken() throws Exception {
Copy link
Contributor

Choose a reason for hiding this comment

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

_noPayPalAccountToken

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed everything. Thank you a lot!

@wmews-hw wmews-hw merged commit 7d284b9 into master Dec 5, 2019
@wmews-hw wmews-hw deleted the HW-51698-add-paypal-account-status-transitions-java branch December 5, 2019 17:50
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.

6 participants