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
Use ::class to resolve class names in tests
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
config
/
MultiConfigTest.php
diff --git
a/tests/phpunit/includes/config/MultiConfigTest.php
b/tests/phpunit/includes/config/MultiConfigTest.php
index
d1eb510
..
fc28395
100644
(file)
--- a/
tests/phpunit/includes/config/MultiConfigTest.php
+++ b/
tests/phpunit/includes/config/MultiConfigTest.php
@@
-17,7
+17,7
@@
class MultiConfigTest extends MediaWikiTestCase {
$this->assertEquals( 'bar', $multi->get( 'foo' ) );
$this->assertEquals( 'foo', $multi->get( 'bar' ) );
$this->assertEquals( 'bar', $multi->get( 'foo' ) );
$this->assertEquals( 'foo', $multi->get( 'bar' ) );
- $this->setExpectedException(
'ConfigException'
, 'MultiConfig::get: undefined option:' );
+ $this->setExpectedException(
ConfigException::class
, 'MultiConfig::get: undefined option:' );
$multi->get( 'notset' );
}
$multi->get( 'notset' );
}