Files
medusa-store/packages
Adrien de Peretti d68e81fb3d fix(medusa): Update line item adjustments upon cart discount removal (#2751)
**What**

When a discount is deleted from a cart, the line item adjustments must be refreshed. Now, the cart service `removeDiscount` includes updating the adjustments.

**Tests**

**Add a new integration test which:**
- create a cart with a discount 
- add a line item
- validate the adjustments
- remove the discount
- check that the adjustments are not present anymore

**Update unit tests**
The actual tests cases now check that the adjustments repository is called when needed

FIXES CORE-890
2022-12-12 09:53:40 +00:00
..
2022-11-24 11:42:04 +01:00
2022-11-02 16:44:54 +01:00
2022-11-02 16:44:54 +01:00
2022-11-02 16:44:54 +01:00
2022-11-24 11:42:04 +01:00