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
Show confirmation prompt on rollback links
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
libs
/
GenericArrayObjectTest.php
diff --git
a/tests/phpunit/includes/libs/GenericArrayObjectTest.php
b/tests/phpunit/includes/libs/GenericArrayObjectTest.php
index
12c5787
..
3be2b06
100644
(file)
--- a/
tests/phpunit/includes/libs/GenericArrayObjectTest.php
+++ b/
tests/phpunit/includes/libs/GenericArrayObjectTest.php
@@
-26,7
+26,9
@@
*
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
*
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
-abstract class GenericArrayObjectTest extends PHPUnit_Framework_TestCase {
+abstract class GenericArrayObjectTest extends PHPUnit\Framework\TestCase {
+
+ use MediaWikiCoversValidator;
/**
* Returns objects that can serve as elements in the concrete
/**
* Returns objects that can serve as elements in the concrete
@@
-171,8
+173,6
@@
abstract class GenericArrayObjectTest extends PHPUnit_Framework_TestCase {
* @since 1.20
*
* @param callable $function
* @since 1.20
*
* @param callable $function
- *
- * @covers GenericArrayObject::getObjectType
*/
protected function checkTypeChecks( $function ) {
$excption = null;
*/
protected function checkTypeChecks( $function ) {
$excption = null;
@@
-204,7
+204,7
@@
abstract class GenericArrayObjectTest extends PHPUnit_Framework_TestCase {
* @since 1.20
*
* @param array $elements
* @since 1.20
*
* @param array $elements
- *
+ *
@covers GenericArrayObject::getObjectType
* @covers GenericArrayObject::offsetSet
*/
public function testOffsetSet( array $elements ) {
* @covers GenericArrayObject::offsetSet
*/
public function testOffsetSet( array $elements ) {