Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Remove basket items when basket is deleted #170

Merged
merged 5 commits into from
Dec 28, 2018

Conversation

efleming18
Copy link
Collaborator

This will resolve #153

@efleming18 efleming18 requested a review from ardalis December 19, 2018 00:48
@ardalis ardalis merged commit eb02750 into master Dec 28, 2018
alscoundrel pushed a commit to alscoundrel/eShopOnWeb that referenced this pull request Feb 20, 2020
* Proving out removing the basket items at the same time the basket is deleted

* Fixing existing unit tests

* Adding a unit test for the Deletebasket method

* Rename test and deleting basket items before basket

* Added integration test for DeleteAsync method for BasketItems

- Also added a BasketBuilder to create a Basket with no items, or one item.
alscoundrel pushed a commit to alscoundrel/eShopOnWeb that referenced this pull request Feb 20, 2020
* Proving out removing the basket items at the same time the basket is deleted

* Fixing existing unit tests

* Adding a unit test for the Deletebasket method

* Rename test and deleting basket items before basket

* Added integration test for DeleteAsync method for BasketItems

- Also added a BasketBuilder to create a Basket with no items, or one item.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

_basketService.DeleteBasketAsync - does not remove the basket from DB
2 participants