set default_country to null, add fallback for test

This commit is contained in:
Steffen Mahler 2020-02-04 14:38:52 +01:00
parent 763ccf3af9
commit 01010db842
2 changed files with 2 additions and 5 deletions

View File

@ -104,7 +104,7 @@ return [
|
*/
'default_country' => 'EN',
'default_country' => null,
/*
|--------------------------------------------------------------------------

View File

@ -14,15 +14,12 @@ use Cart;
class CartCest
{
private $country;
private $faker;
private $product1, $product2;
private $tax1, $tax2;
function _before(FunctionalTester $I)
{
$this->country = Config::get('app.default_country');
$this->country = Config::get('app.default_country') ?? 'DE';
$this->tax1 = $I->have(TaxRate::class, [
'country' => $this->country