fix test for misconfigured config/app.php

This commit is contained in:
Steffen Mahler 2020-02-04 17:21:18 +01:00
parent dd8f653df4
commit cdd61fa77e
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,9 @@ class TaxCest
public function _before(UnitTester $I)
{
$country = Config::get('app.default_country');
if ($country === null) {
$country = 'DE';
}
$tax1 = $I->have(TaxRate::class, [
'country' => $country,