Skip to content

Commit

Permalink
Use correct method
Browse files Browse the repository at this point in the history
  • Loading branch information
mattamon committed Oct 23, 2024
1 parent a6b6844 commit 9b71c50
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/Model/Processor/ProcessorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function checkProcessors(string $processorName, array $config): void
try {
$pdfContent = $this->getPDFfromProcessor($processor, $config);
} catch (ServiceUnavailableException $e) {
$this->incomplete('Service Unavailable: ' . $e->getMessage());
$this->markTestIncomplete('Service Unavailable: ' . $e->getMessage());
}

$file = tmpfile();
Expand All @@ -97,6 +97,9 @@ public function checkProcessors(string $processorName, array $config): void

}

/**
* @throws ServiceUnavailableException
*/
private function getPDFfromProcessor(Processor $processor, array $config): string
{
$html = file_get_contents(__DIR__.'/../../Support/Resources/test_web2print.html.twig');
Expand Down

0 comments on commit 9b71c50

Please sign in to comment.