Fixed bug #14079: Running the unit tests floods the deprecation log
authorSusanne Moog <typo3@susannemoog.de>
Fri, 30 Apr 2010 14:49:19 +0000 (14:49 +0000)
committerSusanne Moog <typo3@susannemoog.de>
Fri, 30 Apr 2010 14:49:19 +0000 (14:49 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7457 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
tests/t3lib/matchcondition/t3lib_matchcondition_frontend_testcase.php
tests/t3lib/t3lib_matchcondition_testcase.php

index 1108763..622d7c9 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,11 @@
+2010-04-30  Susanne Moog  <typo3@susanne-moog.de>
+
+       * Fixed bug #14079: Running the unit tests floods the deprecation log (thanks to Oliver Klee)
+
 2010-04-30  Steffen Kamper  <info@sk-typo3.de>
 
        * Fixed bug #14212: Better styling of BE login news (thanks to Georg Ringer)
-       * Fixed bug #14116: Selecting/deselecting all records does not work with translated records (thanks to Reinhard Führicht)
+       * Fixed bug #14116: Selecting/deselecting all records does not work with translated records (thanks to Reinhard Führicht)
 
 2010-04-29  Jeff Segars  <jeff@webempoweredchurch.org>
 
index 09b25c0..2e3502b 100644 (file)
@@ -163,6 +163,8 @@ class t3lib_matchCondition_frontend_testcase extends tx_phpunit_testcase {
         * @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 @@ class t3lib_matchCondition_frontend_testcase extends tx_phpunit_testcase {
         * @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 912f2fe..7716bfd 100644 (file)
@@ -56,6 +56,8 @@ class t3lib_matchCondition_testcase extends tx_phpunit_testcase {
                        'T3_VAR' => $GLOBALS['T3_VAR'],
                );
 
+               $GLOBALS['TYPO3_CONF_VARS']['SYS']['enableDeprecationLog'] = FALSE;
+
                $this->testGlobalNamespace = uniqid('TEST');
                $GLOBALS[$this->testGlobalNamespace] = array();