[FOLLOWUP][BUGFIX] Allow frontend requests from different document root 18/35018/2
authorMarkus Klein <klein.t3@reelworx.at>
Thu, 4 Dec 2014 01:15:05 +0000 (02:15 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Thu, 4 Dec 2014 01:20:30 +0000 (02:20 +0100)
Fix broken unit test

Resolves: #63025
Releases: master, 6.2
Change-Id: I4c98bedb53cc83ffd1ddc18adfa8e383028704d4
Reviewed-on: http://review.typo3.org/35018
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/frontend/Tests/Unit/ContentObject/FluidTemplateContentObjectTest.php

index 40e8b81..3964fec 100644 (file)
@@ -152,7 +152,7 @@ class FluidTemplateContentObjectTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
                $this->standaloneView
                        ->expects($this->any())
                        ->method('setTemplatePathAndFilename')
-                       ->with('bar');
+                       ->with(PATH_site . 'bar');
                $this->subject->render(array('file' => 'foo'));
        }