[!!!][TASK] Remove deprecated code from TemplateService
[Packages/TYPO3.CMS.git] / typo3 / sysext / frontend / Tests / Unit / ContentObject / FluidTemplateContentObjectTest.php
index 2bb5b0f..ee2d2bd 100644 (file)
@@ -112,21 +112,6 @@ class FluidTemplateContentObjectTest extends UnitTestCase
         $this->subject->render([]);
     }
 
-    /**
-     * @test
-     */
-    public function renderCallsTemplateServiceGetFileNameForGivenTemplateFile(): void
-    {
-        $this->addMockViewToSubject();
-        /** @var $templateService \PHPUnit_Framework_MockObject_MockObject */
-        $templateService = $GLOBALS['TSFE']->tmpl;
-        $templateService
-            ->expects($this->any())
-            ->method('getFileName')
-            ->with('foo');
-        $this->subject->render(['file' => 'foo']);
-    }
-
     /**
      * @test
      */