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 "mediawiki.api.watch: Use formatversion=2 for API requests"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
htmlform
/
HTMLCheckMatrixTest.php
diff --git
a/tests/phpunit/includes/htmlform/HTMLCheckMatrixTest.php
b/tests/phpunit/includes/htmlform/HTMLCheckMatrixTest.php
index
dd5b58b
..
f97716b
100644
(file)
--- a/
tests/phpunit/includes/htmlform/HTMLCheckMatrixTest.php
+++ b/
tests/phpunit/includes/htmlform/HTMLCheckMatrixTest.php
@@
-51,7
+51,7
@@
class HtmlCheckMatrixTest extends MediaWikiTestCase {
public function testValidateAllowsOnlyKnownTags() {
$field = new HTMLCheckMatrix( self::$defaultOptions );
public function testValidateAllowsOnlyKnownTags() {
$field = new HTMLCheckMatrix( self::$defaultOptions );
- $this->assertIn
ternalType( 'string'
, $this->validate( $field, [ 'foo' ] ) );
+ $this->assertIn
stanceOf( Message::class
, $this->validate( $field, [ 'foo' ] ) );
}
public function testValidateAcceptsPartialTagList() {
}
public function testValidateAcceptsPartialTagList() {