Clear once::instances()

This commit is contained in:
David Bomba 2025-08-06 10:25:35 +10:00
parent 8646e42c95
commit 4149ac5370
2 changed files with 5 additions and 1 deletions

View File

@ -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();
}

View File

@ -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