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
Exclude redirects from Special:Fewestrevisions
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
XmlJsTest.php
diff --git
a/tests/phpunit/includes/XmlJsTest.php
b/tests/phpunit/includes/XmlJsTest.php
index
21819b7
..
c7975ef
100644
(file)
--- a/
tests/phpunit/includes/XmlJsTest.php
+++ b/
tests/phpunit/includes/XmlJsTest.php
@@
-3,7
+3,9
@@
/**
* @group Xml
*/
/**
* @group Xml
*/
-class XmlJs extends PHPUnit_Framework_TestCase {
+class XmlJsTest extends PHPUnit\Framework\TestCase {
+
+ use MediaWikiCoversValidator;
/**
* @covers XmlJsCode::__construct
/**
* @covers XmlJsCode::__construct
@@
-15,10
+17,10
@@
class XmlJs extends PHPUnit_Framework_TestCase {
}
public static function provideConstruction() {
}
public static function provideConstruction() {
- return
array(
-
array( null )
,
-
array( '' )
,
-
)
;
+ return
[
+
[ null ]
,
+
[ '' ]
,
+
]
;
}
}
}
}