From 392b3b3217b05cd417ce805e3eb2a8dc34c5041a Mon Sep 17 00:00:00 2001 From: Carsten Rose Date: Sun, 2 Feb 2020 12:14:09 +0100 Subject: [PATCH] Fixes #9959. Fix unit test. --- extension/Classes/Core/Typo3/T3Handler.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extension/Classes/Core/Typo3/T3Handler.php b/extension/Classes/Core/Typo3/T3Handler.php index ec9dd09c..3a7935ad 100644 --- a/extension/Classes/Core/Typo3/T3Handler.php +++ b/extension/Classes/Core/Typo3/T3Handler.php @@ -121,6 +121,11 @@ class T3Handler { */ public static function updateT3QfqConfig($key, $value) { + if (defined('PHPUNIT_QFQ')) { + // There is no typo3conf/LocalConfiguration.php in phpunit. + return; + } + // Restore T3 ErrorHandler. T3 throws exceptions - those should be handled by T3! restore_error_handler(); -- GitLab