diff --git a/tests/Model/Processor/ProcessorTest.php b/tests/Model/Processor/ProcessorTest.php index bd0a15e..10ca481 100644 --- a/tests/Model/Processor/ProcessorTest.php +++ b/tests/Model/Processor/ProcessorTest.php @@ -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(); @@ -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');