PHP Trait LukePOLO\LaraCart\Tests\LaraCartTestTrait

Afficher le fichier Open project: lukepolo/laracart

Méthodes publiques

Méthode Description
setUp ( ) Setup the test functions with laracart.

Méthodes protégées

Méthode Description
getEnvironmentSetUp ( $app ) Default tax setup.
getPackageProviders ( $app ) : array Sets the package providers.

Private Methods

Méthode Description
addItem ( integer $qty = 1, integer $price = 1, boolean $taxable = true, array $options = [] ) : mixed Easy way to add an item for many tests.

Method Details

getEnvironmentSetUp() protected méthode

Default tax setup.
protected getEnvironmentSetUp ( $app )
$app

getPackageProviders() protected méthode

Sets the package providers.
protected getPackageProviders ( $app ) : array
$app
Résultat array

setUp() public méthode

Setup the test functions with laracart.
public setUp ( )