Create GuzzleHttpRequest class as new default for HttpRequestFactory
[lhc/web/wiklou.git] / tests / phpunit / MediaWikiPHPUnitCommand.php
index a506dcb..8979195 100644 (file)
@@ -20,6 +20,9 @@ class MediaWikiPHPUnitCommand extends PHPUnit_TextUI_Command {
 
                // Add our own listener
                $this->arguments['listeners'][] = new MediaWikiPHPUnitTestListener;
+
+               // Output only to stderr to avoid "Headers already sent" problems
+               $this->arguments['stderr'] = true;
        }
 
        protected function createRunner() {