CSCI-GA-2820-SU23-001 / shopcarts

NYU DevOps Shopcarts Service Summer 2023
Apache License 2.0
4 stars 4 forks source link

Refactor Clear Shopcarts API #150

Closed momo100110 closed 1 year ago

momo100110 commented 1 year ago

Refactor Clear Shopcarts API into Flask-RestX

  1. get the shopcart (id = 52) image
  2. clear the shopcart(id = 52) image
  3. verify all the items in shopcart(id = 52) are deleted. image image
codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: -2.03% :warning:

Comparison is base (a5f219f) 92.91% compared to head (a5d844b) 90.89%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #150 +/- ## ========================================== - Coverage 92.91% 90.89% -2.03% ========================================== Files 8 8 Lines 508 527 +19 ========================================== + Hits 472 479 +7 - Misses 36 48 +12 ``` | [Files Changed](https://app.codecov.io/gh/CSCI-GA-2820-SU23-001/shopcarts/pull/150?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CSCI-GA-2820-SU23-001) | Coverage Δ | | |---|---|---| | [service/routes.py](https://app.codecov.io/gh/CSCI-GA-2820-SU23-001/shopcarts/pull/150?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CSCI-GA-2820-SU23-001#diff-c2VydmljZS9yb3V0ZXMucHk=) | `86.10% <100.00%> (-3.40%)` | :arrow_down: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

LillisLuo commented 1 year ago

All good!