aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes')
-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();