PHP Class Sonata\Tests\BasketBundle\Entity\BasketElementTest

Author: Vincent Composieux ([email protected])
Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: sonata-project/ecommerce

Public Methods

Method Description
testNegativeQuantity ( ) Test quantity setter, if quantity is negative, must returns a quantity of 1.

Method Details

testNegativeQuantity() public method

Test quantity setter, if quantity is negative, must returns a quantity of 1.