NAPOSCA / pantryplus

A curbside service for food pantries
http://pantryplus.herokuapp.com
Apache License 2.0
2 stars 0 forks source link

No zero quantities in cart view #78

Closed alexjamesmalcolm closed 6 years ago

alexjamesmalcolm commented 6 years ago

Fixes #76 Adding and then removing products from the shopping view deletes the product from the cart rather than leaving it as a zero quantity item.

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 438


Files with Coverage Reduction New Missed Lines %
/home/travis/build/NAPOSCA/pantryplus/src/main/java/org/wecancodeit/pantryplus/controllers/CartRestController.java 1 98.0%
/home/travis/build/NAPOSCA/pantryplus/src/main/java/org/wecancodeit/pantryplus/lineitem/CountedLineItem.java 3 90.24%
/home/travis/build/NAPOSCA/pantryplus/src/main/java/org/wecancodeit/pantryplus/cart/Cart.java 4 81.67%
<!-- Total: 8 -->
Totals Coverage Status
Change from base Build 431: 1.5%
Covered Lines: 279
Relevant Lines: 312

💛 - Coveralls