From 99556232ae93a35904dbfd34a48b64c0146ee93d Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Wed, 26 Sep 2012 09:14:13 -0400 Subject: [PATCH] Remove completely broken test Change-Id: I6a9897a533b0d57dab9b65d6100e267a73c710ed --- tests/phpunit/includes/api/ApiTest.php | 20 -------------------- 1 file changed, 20 deletions(-) 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']; -- 2.20.1