fixes for pdf mocks

This commit is contained in:
David Bomba 2025-07-11 11:10:53 +10:00
parent b8b85d1095
commit 3f9be79632
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class TemplateMock
$mock = (new PdfMock($data, $this->company));
$mock->settings = $this->settings ?? $this->company->settings;
$mock->build();
// $mock->build(); //2025-07-11 unnecessary to generate the build here as it stubs a PDF preview each time!
return [$type => $mock->getStubVariables()];
}