Fix undefined variable in testHelpers.inc
'MediaWikiTestCase' => "$testFolder/phpunit/MediaWikiTestCase.php",
'MediaWikiPHPUnitCommand' => "$testFolder/phpunit/MediaWikiPHPUnitCommand.php",
'MediaWikiLangTestCase' => "$testFolder/phpunit/MediaWikiLangTestCase.php",
+ 'NewParserTest' => "$testFolder/phpunit/includes/parser/NewParserTest.php",
//includes
'BlockTest' => "$testFolder/phpunit/includes/BlockTest.php",
}
if ( isset ( $this->sectionData[$this->section] ) ) {
- throw new MWException( "duplicate section '$section' at line {$this->lineNum} of $this->file\n" );
+ throw new MWException( "duplicate section '$this->section' at line {$this->lineNum} of $this->file\n" );
}
$this->sectionData[$this->section] = '';
$this->fnHooks[] = $fnHook;
}
-}
\ No newline at end of file
+}