[BUGFIX] Suppress debug output of debugger in unit tests
authorAlexander Schnitzler <alex.schnitzler@typovision.de>
Sun, 6 Jan 2013 09:57:42 +0000 (10:57 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sun, 6 Jan 2013 10:07:38 +0000 (11:07 +0100)
Currently the debug output will be rendered which
leads to printed css if testing unit tests on the
command line.

Releases: 6.0
Fixes: #44335
Change-Id: Ie25c8f6cfe7380739d34a270ea2a0b3984e168e2
Reviewed-on: https://review.typo3.org/17388
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/extbase/Tests/Unit/Utility/DebuggerUtilityTest.php

index 8a96cee..c644312 100644 (file)
@@ -55,7 +55,7 @@ class DebuggerUtilityTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
                        $obj->property = $i;
                        $objectStorage->attach($obj);
                }
-               $this->debugger->var_dump($objectStorage, NULL, 8, FALSE, TRUE);
+               $this->debugger->var_dump($objectStorage, NULL, 8, TRUE, FALSE, TRUE);
                $this->assertTrue($objectStorage->valid());
        }
 
@@ -75,7 +75,7 @@ class DebuggerUtilityTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
                $arguments = $this->getMock('TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\Arguments', array('dummy'), array('arguments' => $parameters));
 
                $arguments->expects($this->never())->method('rewind');
-               $this->debugger->var_dump($arguments, NULL, 8, FALSE, TRUE);
+               $this->debugger->var_dump($arguments, NULL, 8, TRUE, FALSE, TRUE);
        }
 }