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 "upload: Simplify file extension extraction in UploadBase"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
content
/
ContentHandlerTest.php
diff --git
a/tests/phpunit/includes/content/ContentHandlerTest.php
b/tests/phpunit/includes/content/ContentHandlerTest.php
index
a8ea3f0
..
f42f8b4
100644
(file)
--- a/
tests/phpunit/includes/content/ContentHandlerTest.php
+++ b/
tests/phpunit/includes/content/ContentHandlerTest.php
@@
-158,6
+158,7
@@
class ContentHandlerTest extends MediaWikiTestCase {
$handler = ContentHandler::getForTitle( $title );
$lang = $handler->getPageLanguage( $title );
+ $this->assertInstanceOf( Language::class, $lang );
$this->assertEquals( $expected->getCode(), $lang->getCode() );
}