X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FSanitizerValidateEmailTest.php;h=2448513345655553603555264e99c71002a654f7;hb=847bc2b8d7756c36551a768f5cf0d36bc50705b6;hp=f13e8382887c46062db621f0d46511e12a9952b0;hpb=708528039d0c3aeb6353f25fee9ba8af69dafddf;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/SanitizerValidateEmailTest.php b/tests/phpunit/includes/SanitizerValidateEmailTest.php index f13e838288..2448513345 100644 --- a/tests/phpunit/includes/SanitizerValidateEmailTest.php +++ b/tests/phpunit/includes/SanitizerValidateEmailTest.php @@ -2,10 +2,10 @@ /** * @covers Sanitizer::validateEmail - * @TODO all test methods in this class should be refactored and... + * @todo all test methods in this class should be refactored and... * use a single test method and a single data provider... */ -class SanitizerValidateEmailTest extends MediaWikiTestCase { +class SanitizerValidateEmailTest extends PHPUnit_Framework_TestCase { private function checkEmail( $addr, $expected = true, $msg = '' ) { if ( $msg == '' ) { @@ -64,7 +64,7 @@ class SanitizerValidateEmailTest extends MediaWikiTestCase { } /** - * bug 26948 : comma were matched by an incorrect regexp range + * T28948 : comma were matched by an incorrect regexp range */ public function testEmailWithCommasAreInvalids() { $this->invalid( "user,foo@example.org" );