summaryrefslogtreecommitdiffstats
path: root/tests/lib/mail.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-04-15 20:03:00 +0200
committerRobin Appelman <icewind@owncloud.com>2014-04-15 20:03:00 +0200
commitc82adb8c5db01d6a49c4364f7eecb2931f59cfa1 (patch)
tree2c18fa58b47ff03aa3f872a1c13c0b2fe4968fed /tests/lib/mail.php
parent371a924c92bb751b81e2a819d8c581743be7a797 (diff)
parent2eeab60378a3e22e19c4f435aa2bf65cc9da7c2a (diff)
downloadnextcloud-server-c82adb8c5db01d6a49c4364f7eecb2931f59cfa1.tar.gz
nextcloud-server-c82adb8c5db01d6a49c4364f7eecb2931f59cfa1.zip
merge master into webdav-injection
Diffstat (limited to 'tests/lib/mail.php')
-rw-r--r--tests/lib/mail.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/lib/mail.php b/tests/lib/mail.php
index a88a9d797ae..3cc9868e25e 100644
--- a/tests/lib/mail.php
+++ b/tests/lib/mail.php
@@ -8,6 +8,15 @@
class Test_Mail extends PHPUnit_Framework_TestCase {
+ protected function setUp()
+ {
+ if (!function_exists('idn_to_ascii')) {
+ $this->markTestSkipped(
+ 'The intl extension is not available.'
+ );
+ }
+ }
+
/**
* @dataProvider buildAsciiEmailProvider
* @param $expected