diff options
author | Amir Sarabadani <ladsgroup@gmail.com> | 2023-08-04 00:18:19 +0200 |
---|---|---|
committer | Amir Sarabadani <ladsgroup@gmail.com> | 2023-08-07 20:37:09 +0200 |
commit | 291258adfdb13595831e70a47ff1b481f30d9f23 (patch) | |
tree | 926bcc2fb829ea403931f68348c1c539a579294c /tests/phpunit/includes/utils/BatchRowUpdateTest.php | |
parent | 1741cf3ab5316bdbbbc462358c17b9d62d9059d6 (diff) | |
download | mediawikicore-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.php | 2 |
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(); |