Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TEST: Complete order by adding payment type #13

Open
hannahhall opened this issue Feb 28, 2022 · 0 comments
Open

TEST: Complete order by adding payment type #13

hannahhall opened this issue Feb 28, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@hannahhall
Copy link

Add an integration test to tests/order.py that tests adding a payment type to an order.

  1. Create a payment type in setup
  2. Perform PUT to api/orders/complete with the payment type id in the request body
  3. Get the order using the ORM to confirm payment type was added
@hannahhall hannahhall added documentation Improvements or additions to documentation enhancement New feature or request labels Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant