*/
class SanitizerValidateEmailTest extends PHPUnit_Framework_TestCase {
+ use MediaWikiCoversValidator;
+
private function checkEmail( $addr, $expected = true, $msg = '' ) {
if ( $msg == '' ) {
$msg = "Testing $addr";
}
/**
- * 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" );