Merge pull request #19823 from owncloud/require-idn

Run test only when idn is available
This commit is contained in:
Thomas Müller 2015-10-16 12:52:53 +02:00
commit 4b9ec49285
1 changed files with 4 additions and 0 deletions

View File

@ -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)));