fix test for misconfigured config/app.php
This commit is contained in:
parent
dd8f653df4
commit
cdd61fa77e
|
|
@ -17,6 +17,9 @@ class TaxCest
|
||||||
public function _before(UnitTester $I)
|
public function _before(UnitTester $I)
|
||||||
{
|
{
|
||||||
$country = Config::get('app.default_country');
|
$country = Config::get('app.default_country');
|
||||||
|
if ($country === null) {
|
||||||
|
$country = 'DE';
|
||||||
|
}
|
||||||
|
|
||||||
$tax1 = $I->have(TaxRate::class, [
|
$tax1 = $I->have(TaxRate::class, [
|
||||||
'country' => $country,
|
'country' => $country,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue