elcodi/elcodi — pull request #167 by mrzard (2014-07-30 11:08:47+00:00)
Title: Issue #122: CartManager::addLine to protected

- CartManager.php: addLine is now protected

- CartManagerTest: Use purchaseable + addProduct instead of addLine

- Adapt dataProviders for changes from addLine to addProduct:
AddLine does not run the stock count check like addProduct does so we have
to change the expected result count to match the product stock count

- AbstractCartManagerTest: Changes to stop using addLine. addProduct instead