diff --git a/typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php b/typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php index 627e6c44499aa572b0ba8473b9d42d72ae2fe004..c2f16e309fb1deaf01eec958ca3ef45f18fd4a89 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', []); }