From: Chad Horohoe Date: Tue, 10 Feb 2015 21:15:00 +0000 (-0800) Subject: Remove last profiling data from unit tests X-Git-Tag: 1.31.0-rc.0~12459^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=4a6acde115b28e8401d701bc43fa77fa68ea4d70;p=lhc%2Fweb%2Fwiklou.git Remove last profiling data from unit tests Change-Id: I66255ef5364f4eebafadbed663e0945e13f31969 --- diff --git a/tests/phpunit/MediaWikiTestCase.php b/tests/phpunit/MediaWikiTestCase.php index 0a0f480ffc..2b46fc396b 100644 --- a/tests/phpunit/MediaWikiTestCase.php +++ b/tests/phpunit/MediaWikiTestCase.php @@ -129,14 +129,10 @@ abstract class MediaWikiTestCase extends PHPUnit_Framework_TestCase { $needsResetDB = true; } - wfProfileIn( $logName ); parent::run( $result ); - wfProfileOut( $logName ); if ( $needsResetDB ) { - wfProfileIn( $logName . ' (reset-db)' ); $this->resetDB(); - wfProfileOut( $logName . ' (reset-db)' ); } }