Skip to content

Commit

Permalink
[TASK] Avoid obsolete call in test case
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
lolli42 committed Dec 20, 2021
1 parent 72da0d5 commit 26a1cbd
Showing 1 changed file with 0 additions and 2 deletions.
Expand Up @@ -142,8 +142,6 @@ public function resolveViewRespectsDefaultViewObjectName(): void
// Assertions
$reflectionMethod = $reflectionClass->getProperty('view');
$reflectionMethod->setAccessible(true);
$reflectionMethod->getValue($this->subject);

$view = $reflectionMethod->getValue($this->subject);
self::assertInstanceOf(JsonView::class, $view);
}
Expand Down

0 comments on commit 26a1cbd

Please sign in to comment.