X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fparser%2FSanitizerTest.php;h=2cf9553f94371908d79a080c05405b16a579d5e1;hp=269575b24e04ff8abd60e3bc2d70cdbae81310fd;hb=546980e537b8580e197c63da20976dbd3ae5c27b;hpb=9732ccc739b08d057ecd451b7e83674ca6630e20 diff --git a/tests/phpunit/includes/parser/SanitizerTest.php b/tests/phpunit/includes/parser/SanitizerTest.php index 269575b24e..2cf9553f94 100644 --- a/tests/phpunit/includes/parser/SanitizerTest.php +++ b/tests/phpunit/includes/parser/SanitizerTest.php @@ -406,6 +406,7 @@ class SanitizerTest extends MediaWikiTestCase { /** * @dataProvider provideIsReservedDataAttribute + * @covers Sanitizer::isReservedDataAttribute */ public function testIsReservedDataAttribute( $attr, $expected ) { $this->assertSame( $expected, Sanitizer::isReservedDataAttribute( $attr ) ); @@ -530,11 +531,10 @@ class SanitizerTest extends MediaWikiTestCase { [ '

Foo

Bar

', 'FooBar' ], [ "

Foo

\n

Bar

", 'Foo Bar' ], [ '

Hello <strong> world café

', 'Hello world café' ], - // This one is broken, see T179978 - //[ - // '

quux\'>Bar Whee!

', - // 'Bar Whee!' - //], + [ + '

quux\'>Bar Whee!

', + 'Bar Whee!' + ], [ '123', '123' ], [ '123', '123' ], ];