Merge pull request #19823 from owncloud/require-idn
Run test only when idn is available
This commit is contained in:
commit
4b9ec49285
|
@ -39,7 +39,11 @@ class MessageTest extends TestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @requires function idn_to_ascii
|
||||||
* @dataProvider mailAddressProvider
|
* @dataProvider mailAddressProvider
|
||||||
|
*
|
||||||
|
* @param string $unconverted
|
||||||
|
* @param string $expected
|
||||||
*/
|
*/
|
||||||
public function testConvertAddresses($unconverted, $expected) {
|
public function testConvertAddresses($unconverted, $expected) {
|
||||||
$this->assertSame($expected, self::invokePrivate($this->message, 'convertAddresses', array($unconverted)));
|
$this->assertSame($expected, self::invokePrivate($this->message, 'convertAddresses', array($unconverted)));
|
||||||
|
|
Loading…
Reference in New Issue