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 "Revert "Log the reason why revision->getContent() returns null""
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
title
/
SubpageImportTitleFactoryTest.php
diff --git
a/tests/phpunit/includes/title/SubpageImportTitleFactoryTest.php
b/tests/phpunit/includes/title/SubpageImportTitleFactoryTest.php
index
93ce080
..
008cf5d
100644
(file)
--- a/
tests/phpunit/includes/title/SubpageImportTitleFactoryTest.php
+++ b/
tests/phpunit/includes/title/SubpageImportTitleFactoryTest.php
@@
-80,7
+80,7
@@
class SubpageImportTitleFactoryTest extends MediaWikiTestCase {
* @dataProvider failureProvider
*/
public function testFailures( Title $rootPage ) {
- $this->setExpectedException(
'MWException'
);
+ $this->setExpectedException(
MWException::class
);
new SubpageImportTitleFactory( $rootPage );
}
}