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 "RCFilters: Include invert param when reading default saved query"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
LicensesTest.php
diff --git
a/tests/phpunit/includes/LicensesTest.php
b/tests/phpunit/includes/LicensesTest.php
index
478a2ff
..
c7b3ce8
100644
(file)
--- a/
tests/phpunit/includes/LicensesTest.php
+++ b/
tests/phpunit/includes/LicensesTest.php
@@
-1,5
+1,8
@@
<?php
<?php
+/**
+ * @covers Licenses
+ */
class LicensesTest extends MediaWikiTestCase {
public function testLicenses() {
class LicensesTest extends MediaWikiTestCase {
public function testLicenses() {
@@
-8,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',
@@
-16,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' ) );
}
}