CSCI-GA-2820-SP24-003 / payments

NYU DevOps Payments Service Spring 2024
Apache License 2.0
2 stars 2 forks source link

Add is_default #68

Closed YiTing623 closed 6 months ago

YiTing623 commented 7 months ago

add the is_default field to the PaymentMethod model in payment_method.py add a new route to handle the setting of a default payment method in routes.py add tests for for is_default field in TestPaymentMethodModel in test_models.py include the is_default field in factory functions add a test case in TestPaymentsService class in test_routes.py