X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fparser%2FParserOutputTest.php;h=390ea415a01fb14ec5989369bfca8486d6104cfb;hb=b53f299af26aa0b14b3cd3cc37ec1126a61cdc62;hp=94cbf5c91515b18a43151d9828dd766ee9ddfd41;hpb=709e94e05c3dc30475372ae7865e7a96c995d836;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/parser/ParserOutputTest.php b/tests/phpunit/includes/parser/ParserOutputTest.php index 94cbf5c915..390ea415a0 100644 --- a/tests/phpunit/includes/parser/ParserOutputTest.php +++ b/tests/phpunit/includes/parser/ParserOutputTest.php @@ -149,37 +149,6 @@ class ParserOutputTest extends MediaWikiLangTestCase { $this->assertNotContains( 'class="foo bar"', $text ); } - public function testT203716() { - // simulate extra wrapping from old parser cache - $out = new ParserOutput( '
Foo
' ); - $out = unserialize( serialize( $out ) ); - - $plainText = $out->getText( [ 'unwrap' => true ] ); - $wrappedText = $out->getText( [ 'unwrap' => false ] ); - $wrappedText2 = $out->getText( [ 'wrapperDivClass' => 'mw-parser-output' ] ); - - $this->assertNotContains( 'assertContains( 'assertStringNotMatchesFormat( 'assertContains( 'assertStringNotMatchesFormat( 'addWrapperDivClass( 'mw-parser-outout' ); - $out = unserialize( serialize( $out ) ); - - $plainText = $out->getText( [ 'unwrap' => true ] ); - $wrappedText = $out->getText( [ 'unwrap' => false ] ); - $wrappedText2 = $out->getText( [ 'wrapperDivClass' => 'mw-parser-output' ] ); - - $this->assertNotContains( 'assertContains( 'assertStringNotMatchesFormat( 'assertContains( 'assertStringNotMatchesFormat( '