* per T28425
* @covers Block::__construct
*/
- public function testBug26425BlockTimestampDefaultsToTime() {
+ public function testT28425BlockTimestampDefaultsToTime() {
$user = $this->getUserForBlocking();
$block = $this->addBlockForUser( $user );
$madeAt = wfTimestamp( TS_MW );
* 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 );
);
}
- public static function provideBug29116Data() {
+ public static function provideT31116Data() {
return [
[ null ],
[ '' ],
* @covers ::wfShellExec
*/
class WfShellExecTest extends MediaWikiTestCase {
- public function testBug67870() {
+ public function testT69870() {
$command = wfIsWindows()
// 333 = 331 + CRLF
? ( 'for /l %i in (1, 1, 1001) do @echo ' . str_repeat( '*', 331 ) )
"no edit conflict expected here" );
}
- public function testEditConflict_bug41990() {
+ public function testEditConflict_T43990() {
static $count = 0;
$count++;
*/
// assume NS_HELP defaults to wikitext
- $name = "Help:ApiEditPageTest_testEditConflict_redirect_bug41990_$count";
+ $name = "Help:ApiEditPageTest_testEditConflict_redirect_T43990_$count";
$title = Title::newFromText( $name );
$page = WikiPage::factory( $title );
- $rname = "Help:ApiEditPageTest_testEditConflict_redirect_bug41990_r$count";
+ $rname = "Help:ApiEditPageTest_testEditConflict_redirect_T43990_r$count";
$rtitle = Title::newFromText( $rname );
$rpage = WikiPage::factory( $rtitle );
* Test specifications by Alexandre "ialex" Emsenhuber.
* @todo give this test a real name explaining what is being tested here
*/
- public function testBug41337() {
+ public function testT43337() {
// Set a low limit
$this->setMwGlobals( 'wgMaxSigChars', 2 );
/**
* @todo give this test a real name explaining what is being tested here
*/
- public function testBug29408() {
+ public function testT31408() {
$this->setMwGlobals( 'wgUser', self::$users['uploader']->getUser() );
$repo = RepoGroup::singleton()->getLocalRepo();