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 "Use mergeMwGlobalArrayValue in GenderCacheTest"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
libs
/
MWMessagePackTest.php
diff --git
a/tests/phpunit/includes/libs/MWMessagePackTest.php
b/tests/phpunit/includes/libs/MWMessagePackTest.php
index
334d5b5
..
f80f78d
100644
(file)
--- a/
tests/phpunit/includes/libs/MWMessagePackTest.php
+++ b/
tests/phpunit/includes/libs/MWMessagePackTest.php
@@
-13,7
+13,7
@@
class MWMessagePackTest extends MediaWikiTestCase {
* using <https://github.com/msgpack/msgpack-php>, which includes a
* serialization function.
*/
* using <https://github.com/msgpack/msgpack-php>, which includes a
* serialization function.
*/
- public
function provider
() {
+ public
static function providePacks
() {
$tests = array(
array( 'nil', null, 'c0' ),
array( 'bool', true, 'c3' ),
$tests = array(
array( 'nil', null, 'c0' ),
array( 'bool', true, 'c3' ),
@@
-66,7
+66,7
@@
class MWMessagePackTest extends MediaWikiTestCase {
/**
* Verify that values are serialized correctly.
* @covers MWMessagePack::pack
/**
* Verify that values are serialized correctly.
* @covers MWMessagePack::pack
- * @dataProvider provide
r
+ * @dataProvider provide
Packs
*/
public function testPack( $type, $value, $expected ) {
$actual = bin2hex( MWMessagePack::pack( $value ) );
*/
public function testPack( $type, $value, $expected ) {
$actual = bin2hex( MWMessagePack::pack( $value ) );