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
RevisionTest: Revision::constructFromRowArray is not a function
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
XmlJsTest.php
diff --git
a/tests/phpunit/includes/XmlJsTest.php
b/tests/phpunit/includes/XmlJsTest.php
index
161468e
..
c2bc73e
100644
(file)
--- a/
tests/phpunit/includes/XmlJsTest.php
+++ b/
tests/phpunit/includes/XmlJsTest.php
@@
-3,7
+3,7
@@
/**
* @group Xml
*/
/**
* @group Xml
*/
-class XmlJs
extends MediaWiki
TestCase {
+class XmlJs
Test extends PHPUnit_Framework_
TestCase {
/**
* @covers XmlJsCode::__construct
/**
* @covers XmlJsCode::__construct
@@
-14,11
+14,11
@@
class XmlJs extends MediaWikiTestCase {
$this->assertEquals( $value, $obj->value );
}
$this->assertEquals( $value, $obj->value );
}
- public
function provideConstruction()
{
- return
array(
-
array( null )
,
-
array( '' )
,
-
)
;
+ public
static function provideConstruction()
{
+ return
[
+
[ null ]
,
+
[ '' ]
,
+
]
;
}
}
}
}