From 78acfec5ba3077b86ce3d3b2d0c89db256f8c15c Mon Sep 17 00:00:00 2001 From: Susanne Moog <look@susi.dev> Date: Fri, 29 Nov 2019 14:25:41 +0100 Subject: [PATCH] [TASK] Remove call to _setRef Resolves: #89806 Releases: master Change-Id: I587bda0e8101d963e6e8c2bfc72f7f1cb3632243 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62490 Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Benni Mack <benni@typo3.org> Reviewed-by: Benni Mack <benni@typo3.org> --- .../Tests/Unit/ContentObject/ContentObjectRendererTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php b/typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php index 627e6c44499a..c2f16e309fb1 100644 --- a/typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php +++ b/typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php @@ -233,7 +233,7 @@ class ContentObjectRendererTest extends UnitTestCase ->method('getImgResourcePostProcess') ->willReturnCallback([$this, 'isGetImgResourceHookCalledCallback']); $getImgResourceHookObjects = [$getImgResourceHookMock]; - $this->subject->_setRef('getImgResourceHookObjects', $getImgResourceHookObjects); + $this->subject->_set('getImgResourceHookObjects', $getImgResourceHookObjects); $this->subject->getImgResource('typo3/sysext/core/Tests/Unit/Utility/Fixtures/clear.gif', []); } -- GitLab