Mock object needs to be static too
authorChad Horohoe <demon@users.mediawiki.org>
Sun, 22 Aug 2010 21:22:04 +0000 (21:22 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Sun, 22 Aug 2010 21:22:04 +0000 (21:22 +0000)
maintenance/tests/SearchUpdateTest.php

index b4299a8..b9239cc 100644 (file)
@@ -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() { }
 }