LukePOLO\LaraCart\Tests\LaraCartTestTrait::getEnvironmentSetUp PHP Method

getEnvironmentSetUp() protected method

Default tax setup.
protected getEnvironmentSetUp ( $app )
$app
    protected function getEnvironmentSetUp($app)
    {
        $this->session = $app['session'];
        $this->events = $app['events'];
        $this->authManager = $app['auth'];
        $app['config']->set('database.default', 'testing');
        // Setup default database to use sqlite :memory:
        $app['config']->set('laracart.tax', '.07');
    }