X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FSanitizerValidateEmailTest.php;h=c7e15ea5d1e0737ad7c31e8ae9724c63699f045e;hb=dbad540cd37617879aff6f28ce9c016dd8049d4e;hp=14911f0473c5357f833df5579afa2489e210e5a5;hpb=723a59730757cf31629027a567785145c5c131fa;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/SanitizerValidateEmailTest.php b/tests/phpunit/includes/SanitizerValidateEmailTest.php index 14911f0473..c7e15ea5d1 100644 --- a/tests/phpunit/includes/SanitizerValidateEmailTest.php +++ b/tests/phpunit/includes/SanitizerValidateEmailTest.php @@ -5,7 +5,9 @@ * @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 { + + use MediaWikiCoversValidator; private function checkEmail( $addr, $expected = true, $msg = '' ) { if ( $msg == '' ) { @@ -64,7 +66,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" );