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 @covers for RemexStripTagHandler
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
LicensesTest.php
diff --git
a/tests/phpunit/includes/LicensesTest.php
b/tests/phpunit/includes/LicensesTest.php
index
63b2c39
..
0e96bf4
100644
(file)
--- a/
tests/phpunit/includes/LicensesTest.php
+++ b/
tests/phpunit/includes/LicensesTest.php
@@
-11,7
+11,7
@@
class LicensesTest extends MediaWikiTestCase {
** GFDL|Debian disagrees
";
** GFDL|Debian disagrees
";
- $lc = new Licenses(
array(
+ $lc = new Licenses(
[
'fieldname' => 'FooField',
'type' => 'select',
'section' => 'description',
'fieldname' => 'FooField',
'type' => 'select',
'section' => 'description',
@@
-19,7
+19,7
@@
class LicensesTest extends MediaWikiTestCase {
'label' => 'A label text', # Note can't test label-message because $wgOut is not defined
'name' => 'AnotherName',
'licenses' => $str,
'label' => 'A label text', # Note can't test label-message because $wgOut is not defined
'name' => 'AnotherName',
'licenses' => $str,
-
)
);
- $this->assertThat( $lc, $this->isInstanceOf(
'Licenses'
) );
+
]
);
+ $this->assertThat( $lc, $this->isInstanceOf(
Licenses::class
) );
}
}
}
}