summaryrefslogtreecommitdiff
path: root/tests/phpunit
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2013-11-14 23:19:13 +0100
committerPierre Schmitz <pierre@archlinux.de>2013-11-14 23:19:13 +0100
commitaf4da56f1ad4d3ef7b06557bae365da2ea27a897 (patch)
treec018c4033c36be77f9ec699cfd485be82c7542d7 /tests/phpunit
parent91e194556c52d2f354344f930419eef2dd6267f0 (diff)
Update to MediaWiki 1.21.3
Diffstat (limited to 'tests/phpunit')
-rw-r--r--tests/phpunit/includes/api/ApiBlockTest.php16
1 files changed, 0 insertions, 16 deletions
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
@@ -70,22 +70,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:
* "The token parameter must be set"