X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2FparserTests.php;h=5d21319bac116b08185cbfd4ef3ae63c455a96bc;hb=1157312f1e5fe2641784f5c6d0d5ad93dca24f38;hp=d7e8b86ca4eb69cc472eadb7cf7b907992ff0d9d;hpb=166191535f486569277e95b7e6a3850b5db6757d;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/parserTests.php b/tests/parserTests.php index d7e8b86ca4..5d21319bac 100644 --- a/tests/parserTests.php +++ b/tests/parserTests.php @@ -24,7 +24,8 @@ * @ingroup Testing */ -$otions = array( 'quick', 'color', 'quiet', 'help', 'show-output', 'record', 'run-disabled', 'run-parsoid' ); +$otions = array( 'quick', 'color', 'quiet', 'help', 'show-output', + 'record', 'run-disabled', 'run-parsoid' ); $optionsWithArgs = array( 'regex', 'filter', 'seed', 'setversion' ); require_once __DIR__ . '/../maintenance/commandLine.inc'; @@ -69,10 +70,6 @@ if ( $wgDBtype == 'sqlite' ) { } } -# There is a convention that the parser should never -# refer to $wgTitle directly, but instead use the title -# passed to it. -$wgTitle = Title::newFromText( 'Parser test script do not use' ); $tester = new ParserTest( $options ); if ( isset( $options['file'] ) ) {