From 26a1cbd678f254b874f0c373f4eb0fabe125cb18 Mon Sep 17 00:00:00 2001 From: Christian Kuhn <lolli@schwarzbu.ch> Date: Mon, 20 Dec 2021 16:59:00 +0100 Subject: [PATCH] [TASK] Avoid obsolete call in test case Resolves: #96402 Releases: main Change-Id: I8266c5859954ea118a4ec92ca3ca9660e9854c8f Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72743 Tested-by: Benni Mack <benni@typo3.org> Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by: core-ci <typo3@b13.com> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by: Benni Mack <benni@typo3.org> Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> --- .../Tests/Functional/Mvc/Controller/ActionControllerTest.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ActionControllerTest.php b/typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ActionControllerTest.php index 670c078c912a..84e77be3cb9c 100644 --- a/typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ActionControllerTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ActionControllerTest.php @@ -142,8 +142,6 @@ class ActionControllerTest extends FunctionalTestCase // Assertions $reflectionMethod = $reflectionClass->getProperty('view'); $reflectionMethod->setAccessible(true); - $reflectionMethod->getValue($this->subject); - $view = $reflectionMethod->getValue($this->subject); self::assertInstanceOf(JsonView::class, $view); } -- GitLab