Merge "Add @coversNothing in places where @covers does not apply"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 28 Dec 2017 16:39:10 +0000 (16:39 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 28 Dec 2017 16:39:10 +0000 (16:39 +0000)
1  2 
tests/phpunit/includes/db/DatabaseSqliteTest.php

@@@ -285,6 -285,9 +285,9 @@@ class DatabaseSqliteTest extends MediaW
                );
        }
  
+       /**
+        * @coversNothing
+        */
        public function testEntireSchema() {
                global $IP;
  
        /**
         * Runs upgrades of older databases and compares results with current schema
         * @todo Currently only checks list of tables
+        * @coversNothing
         */
        public function testUpgrades() {
                global $IP, $wgVersion, $wgProfiler;
                $this->assertTrue( $db->close(), "closing database" );
        }
  
 +      /**
 +       * @covers \Wikimedia\Rdbms\DatabaseSqlite::__toString
 +       */
        public function testToString() {
                $db = DatabaseSqlite::newStandaloneInstance( ':memory:' );