From dce8fd6fc5bd974d9355a5fc04f4ebaefd3ac441 Mon Sep 17 00:00:00 2001 From: Christian Fasching Date: Thu, 7 Nov 2024 14:49:52 +0100 Subject: [PATCH] fixed tests --- src/Controller/SettingsController.php | 4 +++- tests/Model/Processor/ProcessorTest.php | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Controller/SettingsController.php b/src/Controller/SettingsController.php index cb3fe0c..167b513 100644 --- a/src/Controller/SettingsController.php +++ b/src/Controller/SettingsController.php @@ -100,7 +100,9 @@ public function testWeb2printAction(Request $request): Response ], 'addLinks' => true, 'appendLog' => true, - 'enableDebugMode' => true, + 'debugSettings' => [ + 'all' => true + ], ]; } elseif ($adapter instanceof Gotenberg) { $params = Config::getWeb2PrintConfig(); diff --git a/tests/Model/Processor/ProcessorTest.php b/tests/Model/Processor/ProcessorTest.php index 5fe6fb8..f6b9a96 100644 --- a/tests/Model/Processor/ProcessorTest.php +++ b/tests/Model/Processor/ProcessorTest.php @@ -59,7 +59,9 @@ public function testPdfReactor() ], 'addLinks' => true, 'appendLog' => true, - 'enableDebugMode' => true, + 'debugSettings' => [ + 'all' => true + ], ], ]; $this->checkProcessors('PdfReactor', $pdfReactorConfig);