Remove completely broken test
authorChad Horohoe <chadh@wikimedia.org>
Wed, 26 Sep 2012 13:14:13 +0000 (09:14 -0400)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 26 Sep 2012 17:04:36 +0000 (17:04 +0000)
Change-Id: I6a9897a533b0d57dab9b65d6100e267a73c710ed

tests/phpunit/includes/api/ApiTest.php

index c3eacd5..9806a1c 100644 (file)
@@ -194,26 +194,6 @@ class ApiTest extends ApiTestCase {
 
                return $cj;
        }
-
-       /**
-        * @todo Finish filling me out...what are we trying to test here?
-        */
-       function testApiListPages() {
-               global $wgServer;
-               if ( !isset( $wgServer ) ) {
-                       $this->markTestIncomplete( 'This test needs $wgServer to be set in LocalSettings.php' );
-               }
-
-               $ret = $this->doApiRequest( array(
-                       'action' => 'query',
-                       'prop'   => 'revisions',
-                       'titles' => 'Main Page',
-                       'rvprop' => 'timestamp|user|comment|content',
-               ) );
-
-               $result = $ret[0]['query']['pages'];
-               $this->markTestIncomplete( "Somebody needs to finish loving me" );
-       }
        
        function testRunLogin() {
                $sysopUser = self::$users['sysop'];