Skip to content

Commit

Permalink
Remove ContentParser::forceToUseParser from tests (#2379)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwjames committed Apr 2, 2017
1 parent e3473b3 commit ce12d84
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion tests/phpunit/Integration/MediaWiki/LinksUpdateTest.php
Expand Up @@ -185,7 +185,6 @@ public function testDoUpdateUsingNoAnnotations( $firstRunRevision ) {
public function testReparseFirstRevision( $firstRunRevision ) {

$contentParser = $this->applicationFactory->newContentParser( $this->title );
$contentParser->forceToUseParser();
$contentParser->setRevision( $firstRunRevision );
$contentParser->parse();

Expand Down
1 change: 0 additions & 1 deletion tests/phpunit/Utils/PageRefresher.php
Expand Up @@ -39,7 +39,6 @@ public function doRefresh( $title ) {
}

$contentParser = new ContentParser( $title );
$contentParser->forceToUseParser();

$parserData = ApplicationFactory::getInstance()->newParserData(
$title,
Expand Down

0 comments on commit ce12d84

Please sign in to comment.