From af4da56f1ad4d3ef7b06557bae365da2ea27a897 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 14 Nov 2013 23:19:13 +0100 Subject: Update to MediaWiki 1.21.3 --- tests/phpunit/includes/api/ApiBlockTest.php | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'tests/phpunit/includes/api') diff --git a/tests/phpunit/includes/api/ApiBlockTest.php b/tests/phpunit/includes/api/ApiBlockTest.php index 8f6b9352..94643b10 100644 --- a/tests/phpunit/includes/api/ApiBlockTest.php +++ b/tests/phpunit/includes/api/ApiBlockTest.php @@ -69,22 +69,6 @@ class ApiBlockTest extends ApiTestCase { } - /** - * @dataProvider provideBlockUnblockAction - */ - function testGetTokenUsingABlockingAction( $action ) { - $data = $this->doApiRequest( - array( - 'action' => $action, - 'user' => 'UTApiBlockee', - 'gettoken' => '' ), - null, - false, - self::$users['sysop']->user - ); - $this->assertEquals( 34, strlen( $data[0][$action]["{$action}token"] ) ); - } - /** * Attempting to block without a token should give a UsageException with * error message: -- cgit v1.2.2