From af7a1074a0d55646b59afd405ad058074636a8a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BCrk?= <stefan@buerk.tech> Date: Sun, 13 Nov 2022 19:38:16 +0100 Subject: [PATCH] [BUGFIX] Use correct php namespace for NoopEventDispatcher MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NoopEventDispatcher was originally a text fixture class to help during testing. This class has been made available to extension developers with #99070. However, #98808 has been mergend without prior rebasing and having wrong namespace for this class in a test class. This change now uses the correct namespace to ensure tests are working again. Resolves: #99076 Related: #99070 Related: #98808 Releases: main Change-Id: Ibe28b8e56b18c6899e3a1935e97e6df9e68803d4 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76582 Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by: Stefan Bürk <stefan@buerk.tech> Tested-by: core-ci <typo3@b13.com> Tested-by: Stefan Bürk <stefan@buerk.tech> --- .../SoftReference/AbstractSoftReferenceParserTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/AbstractSoftReferenceParserTest.php b/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/AbstractSoftReferenceParserTest.php index c6b056a82dc0..dd70b5fa2ae6 100644 --- a/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/AbstractSoftReferenceParserTest.php +++ b/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/AbstractSoftReferenceParserTest.php @@ -28,7 +28,7 @@ use TYPO3\CMS\Core\DataHandling\SoftReference\SubstituteSoftReferenceParser; use TYPO3\CMS\Core\DataHandling\SoftReference\TypolinkSoftReferenceParser; use TYPO3\CMS\Core\DataHandling\SoftReference\TypolinkTagSoftReferenceParser; use TYPO3\CMS\Core\DataHandling\SoftReference\UrlSoftReferenceParser; -use TYPO3\CMS\Core\Tests\Unit\Fixtures\EventDispatcher\NoopEventDispatcher; +use TYPO3\CMS\Core\EventDispatcher\NoopEventDispatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; abstract class AbstractSoftReferenceParserTest extends UnitTestCase -- GitLab