X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FBlockTest.php;h=a921ee0e27954c201f31ababa7f754b9d7f4fe8d;hb=9381d7cbd4e22f6ef290b67cbc84979f75c11982;hp=19780a684a79c956f108390d2eb5258adf7555e9;hpb=a2c8c2969420a0f150c03f76e3a0bf9028fcda43;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/BlockTest.php b/tests/phpunit/includes/BlockTest.php index 19780a684a..a921ee0e27 100644 --- a/tests/phpunit/includes/BlockTest.php +++ b/tests/phpunit/includes/BlockTest.php @@ -84,7 +84,7 @@ class BlockTest extends MediaWikiLangTestCase { * per T28425 * @covers Block::__construct */ - public function testBug26425BlockTimestampDefaultsToTime() { + public function testT28425BlockTimestampDefaultsToTime() { $user = $this->getUserForBlocking(); $block = $this->addBlockForUser( $user ); $madeAt = wfTimestamp( TS_MW ); @@ -103,10 +103,10 @@ class BlockTest extends MediaWikiLangTestCase { * because the new function didn't accept empty strings like Block::load() * had. Regression T31116. * - * @dataProvider provideBug29116Data + * @dataProvider provideT31116Data * @covers Block::newFromTarget */ - public function testBug29116NewFromTargetWithEmptyIp( $vagueTarget ) { + public function testT31116NewFromTargetWithEmptyIp( $vagueTarget ) { $user = $this->getUserForBlocking(); $initialBlock = $this->addBlockForUser( $user ); $block = Block::newFromTarget( $user->getName(), $vagueTarget ); @@ -118,7 +118,7 @@ class BlockTest extends MediaWikiLangTestCase { ); } - public static function provideBug29116Data() { + public static function provideT31116Data() { return [ [ null ], [ '' ],