dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
52c26de
)
Disable reportDupes for unit tests
author
Stanislav Malyshev
<smalyshev@gmail.com>
Sat, 8 Oct 2016 00:02:45 +0000
(17:02 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Sat, 8 Oct 2016 23:11:43 +0000
(23:11 +0000)
Bug: T147697
Change-Id: Ibd5901767be0d12d2aa50a4fc48b117711e6cf98
tests/phpunit/MediaWikiTestCase.php
patch
|
blob
|
history
diff --git
a/tests/phpunit/MediaWikiTestCase.php
b/tests/phpunit/MediaWikiTestCase.php
index
e53a958
..
9599016
100644
(file)
--- a/
tests/phpunit/MediaWikiTestCase.php
+++ b/
tests/phpunit/MediaWikiTestCase.php
@@
-242,7
+242,7
@@
abstract class MediaWikiTestCase extends PHPUnit_Framework_TestCase {
* which we can't allow, as that would open a new connection for mysql.
* Replace with a HashBag. They would not be going to persist anyway.
*/
- $hashCache = [ 'class' => 'HashBagOStuff' ];
+ $hashCache = [ 'class' => 'HashBagOStuff'
, 'reportDupes' => false
];
$objectCaches = [
CACHE_DB => $hashCache,
CACHE_ACCEL => $hashCache,