summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-10-16 12:52:53 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-10-16 12:52:53 +0200
commit4b9ec49285081137195c5852682b127a37ea8bfe (patch)
treee365d2c0c5375e95c09f73b7384dbc39cb850b87
parentf6d808e2de8ed39f38b8ca9fdefa0f1fed5a0918 (diff)
parente0d6bd5b6dc2bc30a5d2c688eebc80367fcd3ae5 (diff)
downloadnextcloud-server-4b9ec49285081137195c5852682b127a37ea8bfe.tar.gz
nextcloud-server-4b9ec49285081137195c5852682b127a37ea8bfe.zip
Merge pull request #19823 from owncloud/require-idn
Run test only when idn is available
-rw-r--r--tests/lib/mail/message.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib/mail/message.php b/tests/lib/mail/message.php
index 8ee3c33627c..339677c0a7c 100644
--- a/tests/lib/mail/message.php
+++ b/tests/lib/mail/message.php
@@ -39,7 +39,11 @@ class MessageTest extends TestCase {
}
/**
+ * @requires function idn_to_ascii
* @dataProvider mailAddressProvider
+ *
+ * @param string $unconverted
+ * @param string $expected
*/
public function testConvertAddresses($unconverted, $expected) {
$this->assertSame($expected, self::invokePrivate($this->message, 'convertAddresses', array($unconverted)));