jenkins-bot has submitted this change and it was merged.
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(-)
Approvals:
Krinkle: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: I9ef09cfef07906cc5034a56f9b27eccd79f0d4ad
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits