X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FSanitizerValidateEmailTest.php;h=c4e430848bc99eb02688e4c721c31378c0b1b61a;hb=e62a8361d75344ab15e8def60cb7f2c6c4db2adb;hp=2448513345655553603555264e99c71002a654f7;hpb=237d3271fd313ebe09858a5c442a91216a7b61cf;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/SanitizerValidateEmailTest.php b/tests/phpunit/includes/SanitizerValidateEmailTest.php index 2448513345..c4e430848b 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 PHPUnit_Framework_TestCase { +class SanitizerValidateEmailTest extends PHPUnit\Framework\TestCase { + + use MediaWikiCoversValidator; private function checkEmail( $addr, $expected = true, $msg = '' ) { if ( $msg == '' ) {