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

Add unit test #8550

Merged
merged 1 commit into from
Nov 25, 2024
Merged

Conversation

SchrodingersGat
Copy link
Member

- Unit test to ensure event is fired when stock item is created OR updated
- Ref: inventree#8546
- Ref: inventree#8452
@SchrodingersGat SchrodingersGat added the CI CI / unit testing ecosystem label Nov 25, 2024
@SchrodingersGat SchrodingersGat added this to the 0.17.0 milestone Nov 25, 2024
@SchrodingersGat
Copy link
Member Author

@skydiablo for your reference :)

Copy link

netlify bot commented Nov 25, 2024

Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit 1f465ba
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/67445e52eba1a10008de5cb2

Copy link

codecov bot commented Nov 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.57%. Comparing base (ee9980e) to head (1f465ba).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8550   +/-   ##
=======================================
  Coverage   84.57%   84.57%           
=======================================
  Files        1178     1178           
  Lines       53690    53709   +19     
  Branches     2028     2028           
=======================================
+ Hits        45406    45425   +19     
  Misses       7760     7760           
  Partials      524      524           
Flag Coverage Δ
backend 85.96% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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


🚨 Try these New Features:

@SchrodingersGat SchrodingersGat merged commit d26a683 into inventree:master Nov 25, 2024
27 checks passed
@SchrodingersGat SchrodingersGat deleted the low-stock-test branch November 25, 2024 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI CI / unit testing ecosystem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant