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

fix: versioning webhooks and update test to correctly test end to end #4221

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

matthewelwell
Copy link
Contributor

Thanks for submitting a PR! Please check the boxes below:

  • I have run pre-commit to check linting
  • I have added information to docs/ if required so people know about the feature!
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?
  • I have used a Conventional Commit title for this Pull Request

Changes

Fixes an issue with the webhooks for environment feature versions that was supposed to be fixed in #4187 but, because the test was just mocking the call to call_environment_webhooks, that was not the case. This PR fixes it properly and updates the test to run the full end to end webhook flow.

How did you test this code?

Updated existing test.

@matthewelwell matthewelwell requested a review from a team as a code owner June 25, 2024 10:14
@matthewelwell matthewelwell requested review from novakzaballa and removed request for a team June 25, 2024 10:14
Copy link

vercel bot commented Jun 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
docs ⬜️ Ignored (Inspect) Jun 25, 2024 10:14am
flagsmith-frontend-preview ⬜️ Ignored (Inspect) Jun 25, 2024 10:14am
flagsmith-frontend-staging ⬜️ Ignored (Inspect) Jun 25, 2024 10:14am

@github-actions github-actions bot added the api Issue related to the REST API label Jun 25, 2024
Copy link
Contributor

github-actions bot commented Jun 25, 2024

Uffizzi Preview deployment-53445 was deleted.

Copy link

codecov bot commented Jun 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.57%. Comparing base (5c25c41) to head (10ae7c0).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4221   +/-   ##
=======================================
  Coverage   96.57%   96.57%           
=======================================
  Files        1190     1190           
  Lines       38747    38754    +7     
=======================================
+ Hits        37419    37426    +7     
  Misses       1328     1328           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@matthewelwell matthewelwell changed the title Fix versioning webhooks and update test to correctly test end to end fix: versioning webhooks and update test to correctly test end to end Jun 25, 2024
@matthewelwell matthewelwell added this pull request to the merge queue Jun 25, 2024
Merged via the queue into main with commit 47eb149 Jun 25, 2024
31 checks passed
@matthewelwell matthewelwell deleted the fix/versioning-webhooks branch June 25, 2024 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants