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 "Fix reset interwiki table between tests"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
MediaWikiTestCase.php
diff --git
a/tests/phpunit/MediaWikiTestCase.php
b/tests/phpunit/MediaWikiTestCase.php
index
a8cc252
..
310ba29
100644
(file)
--- a/
tests/phpunit/MediaWikiTestCase.php
+++ b/
tests/phpunit/MediaWikiTestCase.php
@@
-1784,7
+1784,7
@@
abstract class MediaWikiTestCase extends PHPUnit\Framework\TestCase {
}
$db->insert(
'interwiki',
- array_
map( 'get_object_vars', iterator_to_array( $this->interwikiTable
) ),
+ array_
values( array_map( 'get_object_vars', iterator_to_array( $this->interwikiTable )
) ),
__METHOD__
);
}