Closed zachaysan closed 2 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Your pull request is modifying functions with the following pre-existing issues:
📄 File: api/organisations/chargebee/webhook_handlers.py
Function | Unhandled Issue |
---|---|
process_subscription |
TypeError: 'NoneType' object cannot be interpreted as an integer /ap... Event Count: 3 |
Did you find this useful? React with a 👍 or 👎
Image | Build Status | Security report |
---|---|---|
ghcr.io/flagsmith/flagsmith:pr-4589 |
Finished :white_check_mark: | Results :white_check_mark: |
ghcr.io/flagsmith/flagsmith-private-cloud:pr-4589 |
Finished :white_check_mark: | Results :white_check_mark: |
ghcr.io/flagsmith/flagsmith-api-test:pr-4589 |
Finished :white_check_mark: | Skipped |
ghcr.io/flagsmith/flagsmith-e2e:pr-4589 |
Finished :white_check_mark: | Skipped |
ghcr.io/flagsmith/flagsmith-api:pr-4589 |
Finished :white_check_mark: | Results :white_check_mark: |
ghcr.io/flagsmith/flagsmith-frontend:pr-4589 |
Finished :white_check_mark: | Results :white_check_mark: |
ghcr.io/flagsmith/flagsmith:pr-4589 |
Finished :white_check_mark: | Results :white_check_mark: |
ghcr.io/flagsmith/flagsmith-private-cloud:pr-4589 |
Finished :white_check_mark: | Results :white_check_mark: |
Uffizzi Preview deployment-55888
was deleted.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 97.16%. Comparing base (
5c02c1e
) to head (2100670
). Report is 14 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@zachaysan I'm not sure why testing is N/A here? Let's make sure that we add some test coverage please.
@zachaysan I'm not sure why testing is N/A here? Let's make sure that we add some test coverage please.
This is done now @matthewelwell
Changes
Trials mean we don't always get cancellation dates in the response from Chargebee. This fixes this.
How did you test this code?
Edit: There is now testing in place. The one path where
current_term_end
is set was covered by an existing test, so I've added one new one for the case where it is unset.