mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TextExtracts
synced 2024-11-27 09:30:09 +00:00
Remove unused ParserOptions from ExtractFormatterTest
Change-Id: I685b468ad13da73b6273041f6ff068c2d8b730d0
This commit is contained in:
parent
f607ff8d6c
commit
9f99628c1f
|
@ -4,7 +4,6 @@ namespace TextExtracts\Test;
|
|||
|
||||
use MediaWiki\MediaWikiServices;
|
||||
use MediaWikiTestCase;
|
||||
use ParserOptions;
|
||||
use TextExtracts\ExtractFormatter;
|
||||
|
||||
/**
|
||||
|
@ -16,7 +15,6 @@ class ExtractFormatterTest extends MediaWikiTestCase {
|
|||
* @dataProvider provideExtracts
|
||||
*/
|
||||
public function testExtracts( $expected, $text, $plainText ) {
|
||||
$po = new ParserOptions();
|
||||
$config = MediaWikiServices::getInstance()->getConfigFactory()->makeConfig( 'textextracts' );
|
||||
$fmt = new ExtractFormatter( $text, $plainText, $config );
|
||||
// .metadata class will be added via $wgExtractsRemoveClasses on WMF
|
||||
|
|
Loading…
Reference in a new issue