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

Expose ...OrderAdjustmentsRecalculator#calculate_eligibility bug #4965

Conversation

julienanne
Copy link
Contributor

@julienanne julienanne commented Mar 2, 2023

Summary

Spec to expose the inaccurate adjustment eligibility with shipping promotion action during Spree::Promotion::OrderAdjustmentsRecalculator call
The issue #2387 expose many different way to have the trouble and to correct them temporary but not definitively ;)
Sorry but can't, at the moment, propose a correction PR just a failing spec to expose the trouble for inspiration.
I make it draft for the moment.

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

The following are not always needed:

  • 📖 I have updated the README to account for my changes.
  • 📑 I have documented new code with YARD.
  • 🛣️ I have opened a PR to update the guides.
  • ✅ I have added automated tests to cover my changes.
  • 📸 I have attached screenshots to demo visual changes.

…bility bug

Spec to expose the inaccurate adjustment eligibility with shipping promotion action during Spree::Promotion::OrderAdjustmentsRecalculator call
@julienanne julienanne requested a review from a team as a code owner March 2, 2023 15:55
@github-actions github-actions bot added the changelog:solidus_core Changes to the solidus_core gem label Mar 2, 2023
@julienanne julienanne changed the title Expose ..OrderAdjustmentsRecalculator#calculate_eligibility bug Expose ...OrderAdjustmentsRecalculator#calculate_eligibility bug Mar 2, 2023
@waiting-for-dev waiting-for-dev marked this pull request as draft March 3, 2023 04:59
@waiting-for-dev
Copy link
Contributor

Thanks, @julienanne. Marking it as a draft for now.

@fthobe
Copy link
Contributor

fthobe commented Dec 8, 2024

@mamhoff this is solved with the new promotion system, right?

@mamhoff
Copy link
Contributor

mamhoff commented Dec 10, 2024

Yes, this shouldn't happen with the new promo system. If you want to be super-sure, you can port the test to solidus_promotions and see for yourself.

@fthobe
Copy link
Contributor

fthobe commented Dec 10, 2024

@jarednorman can in fact be closed as resolved

Copy link

codecov bot commented Dec 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.33%. Comparing base (6d55800) to head (254b9c6).
Report is 2430 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4965      +/-   ##
==========================================
+ Coverage   86.69%   92.33%   +5.64%     
==========================================
  Files         578      123     -455     
  Lines       14681     3354   -11327     
==========================================
- Hits        12728     3097    -9631     
+ Misses       1953      257    -1696     

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_core Changes to the solidus_core gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants