Remove last profiling data from unit tests
authorChad Horohoe <chadh@wikimedia.org>
Tue, 10 Feb 2015 21:15:00 +0000 (13:15 -0800)
committerChad Horohoe <chadh@wikimedia.org>
Tue, 10 Feb 2015 21:15:17 +0000 (13:15 -0800)
Change-Id: I66255ef5364f4eebafadbed663e0945e13f31969

tests/phpunit/MediaWikiTestCase.php

index 0a0f480..2b46fc3 100644 (file)
@@ -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)' );
                }
        }