OrangeIguanas / Bangazon-cli

0 stars 0 forks source link

added PaymentMethod getter with test and documentation #34

Closed peterStaggs closed 7 years ago

peterStaggs commented 7 years ago

A getter function on CreatePaymentMethod to retrieve card type and card number

Related Ticket(s)

N/A

Testing

[ x] There are new unit tests in this PR, and I verify that there is full coverage of all new code. [ x] I certify that all existing tests pass

Documentation

[x ] There is new documentation in this pull request that must be reviewed..

Deploy Notes

Ensure database tables + rows are created via PaymentMethod test first and do not throw unique error in order to test the getter.

git pull --prune
git checkout ps_paymentMethodGetter

Steps to Test

run testPaymentMethod.py

Dmart331 commented 7 years ago

🚀

shawn-mit commented 7 years ago

:rocket: