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
Add tests for ExtensionJsonValidator
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
XmlTest.php
diff --git
a/tests/phpunit/includes/XmlTest.php
b/tests/phpunit/includes/XmlTest.php
index
4a280da
..
e46fc67
100644
(file)
--- a/
tests/phpunit/includes/XmlTest.php
+++ b/
tests/phpunit/includes/XmlTest.php
@@
-55,7
+55,7
@@
class XmlTest extends MediaWikiTestCase {
* @covers Xml::expandAttributes
*/
public function testExpandAttributesException() {
- $this->setExpectedException(
'MWException'
);
+ $this->setExpectedException(
MWException::class
);
Xml::expandAttributes( 'string' );
}