aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/utils/BatchRowUpdateTest.php
diff options
context:
space:
mode:
authorAmir Sarabadani <ladsgroup@gmail.com>2023-08-04 00:18:19 +0200
committerAmir Sarabadani <ladsgroup@gmail.com>2023-08-07 20:37:09 +0200
commit291258adfdb13595831e70a47ff1b481f30d9f23 (patch)
tree926bcc2fb829ea403931f68348c1c539a579294c /tests/phpunit/includes/utils/BatchRowUpdateTest.php
parent1741cf3ab5316bdbbbc462358c17b9d62d9059d6 (diff)
downloadmediawikicore-291258adfdb13595831e70a47ff1b481f30d9f23.tar.gz
mediawikicore-291258adfdb13595831e70a47ff1b481f30d9f23.zip
rdbms: Merge DatabaseMysqli into DatabaseMysqlBase
This should have been done long time ago. Change-Id: I4935b0483a566266e5bc99542478387304843624
Diffstat (limited to 'tests/phpunit/includes/utils/BatchRowUpdateTest.php')
-rw-r--r--tests/phpunit/includes/utils/BatchRowUpdateTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/utils/BatchRowUpdateTest.php b/tests/phpunit/includes/utils/BatchRowUpdateTest.php
index f94fe3ec4e4d..d048f74a141e 100644
--- a/tests/phpunit/includes/utils/BatchRowUpdateTest.php
+++ b/tests/phpunit/includes/utils/BatchRowUpdateTest.php
@@ -237,7 +237,7 @@ class BatchRowUpdateTest extends MediaWikiIntegrationTestCase {
protected function mockDb( $methods = [] ) {
// @TODO: mock from Database
// FIXME: the constructor normally sets mAtomicLevels and mSrvCache, and platform
- $databaseMysql = $this->getMockBuilder( Wikimedia\Rdbms\DatabaseMysqli::class )
+ $databaseMysql = $this->getMockBuilder( Wikimedia\Rdbms\DatabaseMysqlBase::class )
->disableOriginalConstructor()
->onlyMethods( array_merge( [ 'isOpen' ], $methods ) )
->getMock();