Index: tests/t3lib/matchcondition/t3lib_matchcondition_frontend_testcase.php =================================================================== --- tests/t3lib/matchcondition/t3lib_matchcondition_frontend_testcase.php (revision 7361) +++ tests/t3lib/matchcondition/t3lib_matchcondition_frontend_testcase.php (working copy) @@ -163,6 +163,8 @@ * @test */ public function deprecatedBrowserInfoHookIsCalled() { + $GLOBALS['TYPO3_CONF_VARS']['SYS']['enableDeprecationLog'] = FALSE; + $classRef = uniqid('tx_browserInfoHook'); $browserInfoHookMock = $this->getMock($classRef, array('browserInfo')); $browserInfoHookMock->expects($this->atLeastOnce())->method('browserInfo'); @@ -181,6 +183,8 @@ * @test */ public function deprecatedWhichDeviceHookIsCalled() { + $GLOBALS['TYPO3_CONF_VARS']['SYS']['enableDeprecationLog'] = FALSE; + $classRef = uniqid('tx_whichDeviceHook'); $whichDeviceHookMock = $this->getMock($classRef, array('whichDevice')); $whichDeviceHookMock->expects($this->atLeastOnce())->method('whichDevice'); Index: tests/t3lib/t3lib_matchcondition_testcase.php =================================================================== --- tests/t3lib/t3lib_matchcondition_testcase.php (revision 7361) +++ tests/t3lib/t3lib_matchcondition_testcase.php (working copy) @@ -56,6 +56,8 @@ 'T3_VAR' => $GLOBALS['T3_VAR'], ); + $GLOBALS['TYPO3_CONF_VARS']['SYS']['enableDeprecationLog'] = FALSE; + $this->testGlobalNamespace = uniqid('TEST'); $GLOBALS[$this->testGlobalNamespace] = array();