Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2016-03-30 05:04:35 +0300
committermattab <matthieu.aubry@gmail.com>2016-03-30 05:04:35 +0300
commit951dbcba07571b9864e34626f57729bc6b0af154 (patch)
tree175004b4ee92dea5774d6023eedb7c357f3800d8 /tests
parent4cf7a648999681fce3233953822bf9a43fb2f195 (diff)
Fix the integration test, until next time - Refs #9977
Diffstat (limited to 'tests')
-rw-r--r--tests/PHPUnit/Integration/EmailValidatorTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/PHPUnit/Integration/EmailValidatorTest.php b/tests/PHPUnit/Integration/EmailValidatorTest.php
index 262baab9e0..22c95f86ee 100644
--- a/tests/PHPUnit/Integration/EmailValidatorTest.php
+++ b/tests/PHPUnit/Integration/EmailValidatorTest.php
@@ -47,8 +47,10 @@ class EmailValidatorTest extends \PHPUnit_Framework_TestCase
if (strpos(mb_strtolower($tld), 'xn--') !== 0) {
$tld = mb_strtolower($tld);
}
+ $email = 'test@example.' . idn_to_utf8($tld);
$this->assertTrue(
- $this->isValid('test@example.' . idn_to_utf8($tld))
+ $this->isValid($email),
+ "email $email is not valid, but expected to be valid. Add this domain extension to libs/Zend/Validate/Hostname.php"
);
}
}