Legoktm has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/94282


Change subject: Disable DatabaseBase constructor
......................................................................

Disable DatabaseBase constructor

Broke in I094185585dc844ca4d2d8b629107b2ab8f9bef39

Change-Id: I9ef09cfef07906cc5034a56f9b27eccd79f0d4ad
---
M tests/BatchRowUpdateTest.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo 
refs/changes/82/94282/1

diff --git a/tests/BatchRowUpdateTest.php b/tests/BatchRowUpdateTest.php
index e08517d..5f506e9 100644
--- a/tests/BatchRowUpdateTest.php
+++ b/tests/BatchRowUpdateTest.php
@@ -232,7 +232,7 @@
        protected function mockDb() {
                // Cant mock from DatabaseType or DatabaseBase, they dont
                // have the full gamut of methods
-               return $this->getMock( 'DatabaseMysql' );
+               return $this->getMockBuilder( 'DatabaseMysql' 
)->disableOriginalConstructor()->getMock();
        }
 }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/94282
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9ef09cfef07906cc5034a56f9b27eccd79f0d4ad
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to