Add @covers for main Database test types
[lhc/web/wiklou.git] / tests / phpunit / includes / db / DatabaseMysqlBaseTest.php
index 75c4837..7d7a2bd 100644 (file)
@@ -58,6 +58,7 @@ class DatabaseMysqlBaseTest extends MediaWikiTestCase {
 
        /**
         * @dataProvider provideDiapers
+        * @covers DatabaseMysqlBase::addIdentifierQuotes
         */
        function testAddIdentifierQuotes( $expected, $in ) {
                $db = new FakeDatabaseMysqlBase();
@@ -83,9 +84,6 @@ class DatabaseMysqlBaseTest extends MediaWikiTestCase {
                        // will return with thoses:
                        array( '``', false ),
                        array( '`1`', true ),
-                       array( '`Array`', array() ),
-                       //array( '`Object`', new stdClass() ),
-                       // ^ Error: Object of class stdClass could not be converted to string
 
                        // We never know what could happen
                        array( '`0`', 0 ),