diff --git a/app/Services/EDocument/Standards/Peppol.php b/app/Services/EDocument/Standards/Peppol.php index 69801ae8cc..b043a07d4e 100644 --- a/app/Services/EDocument/Standards/Peppol.php +++ b/app/Services/EDocument/Standards/Peppol.php @@ -242,7 +242,7 @@ class Peppol extends AbstractService ->getPeppol(); } catch (\Throwable $th) { - nlog("Unable to create Peppol Invoice" . $th->getMessage()); + nlog("Unable to create Peppol Invoice - " . $th->getMessage()); $this->errors[] = $th->getMessage(); } diff --git a/tests/Unit/Tax/TaxRuleConsistencyTest.php b/tests/Unit/Tax/TaxRuleConsistencyTest.php index 28a575766b..824273136f 100644 --- a/tests/Unit/Tax/TaxRuleConsistencyTest.php +++ b/tests/Unit/Tax/TaxRuleConsistencyTest.php @@ -51,6 +51,8 @@ class TaxRuleConsistencyTest extends TestCase private function setupTestData(array $params = []): array { + \Illuminate\Support\Once::flush(); + $company_iso = isset($params['company_country']) ? $params['company_country'] : 'DE'; $settings = CompanySettings::defaults(); @@ -167,6 +169,8 @@ class TaxRuleConsistencyTest extends TestCase ]; foreach ($scenarios as $name => $scenario) { + + $data = $this->setupTestData($scenario['params']); // Test BaseRule