We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It seems that the code in fundraising.views.WebhookHandler doesn't have any tests associated with it.
fundraising.views.WebhookHandler
It would be nice to have a basic suite of tests, at least for the "happy path". This could prevent bugs like the one fixed recently in e995213.
EDIT: Not sure how I managed to miss it, but we do have some tests: https://github.com/django/djangoproject.com/blob/main/fundraising/tests/test_views.py#L183 So I'm narrowing down the scope of this to adding tests for the hooks that are not currently being tested (like checkout_session_completed)
checkout_session_completed
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
It seems that the code in
fundraising.views.WebhookHandler
doesn't have any tests associated with it.It would be nice to have a basic suite of tests, at least for the "happy path". This could prevent bugs like the one fixed recently in e995213.
EDIT: Not sure how I managed to miss it, but we do have some tests: https://github.com/django/djangoproject.com/blob/main/fundraising/tests/test_views.py#L183
So I'm narrowing down the scope of this to adding tests for the hooks that are not currently being tested (like
checkout_session_completed
)The text was updated successfully, but these errors were encountered: