Use existing function to check for test config

This commit is contained in:
Marcus Bointon 2025-04-09 14:35:24 +02:00
parent d31cb27117
commit 1db5c74f76
No known key found for this signature in database
GPG Key ID: DE31CD6EB646AA24
1 changed files with 1 additions and 1 deletions

View File

@ -408,7 +408,7 @@ final class ReplyToGetSetClearTest extends PreSendTestCase
*/
public function testAddReplyToFailsOn8BitCharInDomainWithoutOptionalExtensions()
{
if (extension_loaded('mbstring') && function_exists('idn_to_ascii')) {
if (PHPMailer::idnSupported()) {
$this->markTestSkipped('Test requires MbString and/or Intl *not* to be available');
}