Skip to content

Commit

Permalink
Fixed the unit test with a valid IDN domain name
Browse files Browse the repository at this point in the history
  • Loading branch information
ezimuel committed Apr 11, 2016
1 parent 210190d commit 9d73d88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Zend/Validate/EmailAddressTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ public function testSetSingleMessage()
$messages = $this->_validator->getMessageTemplates();
$this->assertEquals('TestMessage', $messages[Zend_Validate_EmailAddress::INVALID]);
}

/**
* Testing setMessage for all messages
*
Expand Down Expand Up @@ -613,7 +613,7 @@ public function errorHandler($errno, $errstr)
$this->multipleOptionsDetected = true;
}
}

/**
* @group ZF-11239
*/
Expand All @@ -633,7 +633,7 @@ public function testIdnHostnameInEmaillAddress()
}
$validator = new Zend_Validate_EmailAddress();
$validator->setValidateMx(true);
$this->assertTrue($validator->isValid('testmail@zürich.ch'));
$this->assertTrue($validator->isValid('testmail@faß.de'));
}

/**
Expand Down

0 comments on commit 9d73d88

Please sign in to comment.