From: Chad Horohoe Date: Sun, 22 Aug 2010 21:22:04 +0000 (+0000) Subject: Mock object needs to be static too X-Git-Tag: 1.31.0-rc.0~35373 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=c8f50c0a5a9ba428867998ffe15ddc2a3f1c67cc;p=lhc%2Fweb%2Fwiklou.git Mock object needs to be static too --- diff --git a/maintenance/tests/SearchUpdateTest.php b/maintenance/tests/SearchUpdateTest.php index b4299a812e..b9239cc02a 100644 --- a/maintenance/tests/SearchUpdateTest.php +++ b/maintenance/tests/SearchUpdateTest.php @@ -23,7 +23,7 @@ class DatabaseMock extends DatabaseBase { function fieldInfo( $table, $field ) { } function strencode( $s ) { } function getSoftwareLink() { } - function getServerVersion() { } + static function getServerVersion() { } function getType() { } function getSearchEngine() { } }