From: Chad Horohoe Date: Wed, 26 Sep 2012 13:14:13 +0000 (-0400) Subject: Remove completely broken test X-Git-Tag: 1.31.0-rc.0~22270 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=99556232ae93a35904dbfd34a48b64c0146ee93d;p=lhc%2Fweb%2Fwiklou.git Remove completely broken test Change-Id: I6a9897a533b0d57dab9b65d6100e267a73c710ed --- diff --git a/tests/phpunit/includes/api/ApiTest.php b/tests/phpunit/includes/api/ApiTest.php index c3eacd5bdd..9806a1cb9f 100644 --- a/tests/phpunit/includes/api/ApiTest.php +++ b/tests/phpunit/includes/api/ApiTest.php @@ -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'];