dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Update weblinks in comments from HTTP to HTTPS"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
HtmlTest.php
diff --git
a/tests/phpunit/includes/HtmlTest.php
b/tests/phpunit/includes/HtmlTest.php
index
85c95e4
..
e2ee193
100644
(file)
--- a/
tests/phpunit/includes/HtmlTest.php
+++ b/
tests/phpunit/includes/HtmlTest.php
@@
-92,7
+92,6
@@
class HtmlTest extends MediaWikiTestCase {
* @covers Html::expandAttributes
*/
public function testExpandAttributesSkipsNullAndFalse() {
* @covers Html::expandAttributes
*/
public function testExpandAttributesSkipsNullAndFalse() {
-
# ## EMPTY ########
$this->assertEmpty(
Html::expandAttributes( [ 'foo' => null ] ),
# ## EMPTY ########
$this->assertEmpty(
Html::expandAttributes( [ 'foo' => null ] ),
@@
-190,7
+189,6
@@
class HtmlTest extends MediaWikiTestCase {
Html::expandAttributes( [ 'zero' => 0 ] ),
'Number 0 value needs no quotes'
);
Html::expandAttributes( [ 'zero' => 0 ] ),
'Number 0 value needs no quotes'
);
-
}
/**
}
/**
@@
-447,7
+445,7
@@
class HtmlTest extends MediaWikiTestCase {
/**
* List of input element types values introduced by HTML5
/**
* List of input element types values introduced by HTML5
- * Full list at http://www.w3.org/TR/html-markup/input.html
+ * Full list at http
s
://www.w3.org/TR/html-markup/input.html
*/
public static function provideHtml5InputTypes() {
$types = [
*/
public static function provideHtml5InputTypes() {
$types = [
@@
-514,10
+512,6
@@
class HtmlTest extends MediaWikiTestCase {
'canvas', [ 'width' => 300 ]
];
'canvas', [ 'width' => 300 ]
];
- $cases[] = [ '<command/>',
- 'command', [ 'type' => 'command' ]
- ];
-
$cases[] = [ '<form></form>',
'form', [ 'action' => 'GET' ]
];
$cases[] = [ '<form></form>',
'form', [ 'action' => 'GET' ]
];