Skip to content
Snippets Groups Projects
Commit d2addd5f authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[BUGFIX] Incomplete mock raises PHP 5.4 warning

Fix the travis fail on PHP 5.4, introduced by #45254

Related: #45254
Resolves: #47449
Releases: 6.1, 6.0

Change-Id: I4f4f4df62989ad67c3b32aea304a8718f0c344b2
Reviewed-on: https://review.typo3.org/20078
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
parent f4cc1919
No related merge requests found
......@@ -52,6 +52,7 @@ class AbstractMenuContentObjectTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTe
$GLOBALS['TYPO3_DB'] = $this->getMock('TYPO3\\CMS\\Core\\Database\\DatabaseConnection');
$GLOBALS['TSFE'] = $this->getMock('TYPO3\\CMS\\Frontend\\Controller\\TypoScriptFrontendController', array(), array($GLOBALS['TYPO3_CONF_VARS'], 1, 1));
$GLOBALS['TSFE']->cObj = new \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer();
$GLOBALS['TSFE']->page = array();
}
/**
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment