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 "rdbms: avoid LoadBalancer::getConnection waste when using $groups"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
filerepo
/
FileBackendDBRepoWrapperTest.php
diff --git
a/tests/phpunit/includes/filerepo/FileBackendDBRepoWrapperTest.php
b/tests/phpunit/includes/filerepo/FileBackendDBRepoWrapperTest.php
index
4c9855b
..
346be7a
100644
(file)
--- a/
tests/phpunit/includes/filerepo/FileBackendDBRepoWrapperTest.php
+++ b/
tests/phpunit/includes/filerepo/FileBackendDBRepoWrapperTest.php
@@
-112,7
+112,7
@@
class FileBackendDBRepoWrapperTest extends MediaWikiTestCase {
}
protected function getMocks() {
- $dbMock = $this->getMockBuilder( Wikimedia\Rdbms\
DatabaseMysqli
::class )
+ $dbMock = $this->getMockBuilder( Wikimedia\Rdbms\
IDatabase
::class )
->disableOriginalClone()
->disableOriginalConstructor()
->getMock();