fix: Update testMailSendWithSendmailParams to use example.org in sendmail path

This commit is contained in:
SirLouen 2025-12-07 01:27:56 +01:00
parent 8ff00047a8
commit 96d82b913a
No known key found for this signature in database
GPG Key ID: 87796BFBFE09911B
1 changed files with 2 additions and 2 deletions

View File

@ -121,13 +121,13 @@ final class MailTransportTest extends SendTestCase
* Test sending using PHP mail() function with Sender address
* and explicit sendmail_from ini set.
* Test running required with:
* php -d sendmail_path="/usr/sbin/sendmail -t -i -frpath@example.com" ./vendor/bin/phpunit
* php -d sendmail_path="/usr/sbin/sendmail -t -i -frpath@example.org" ./vendor/bin/phpunit
*
* @covers \PHPMailer\PHPMailer\PHPMailer::isMail
*/
public function testMailSendWithSendmailParams()
{
if (strpos(ini_get('sendmail_path'), 'rpath@example.com') === false) {
if (strpos(ini_get('sendmail_path'), 'rpath@example.org') === false) {
self::markTestSkipped('Custom Sendmail php.ini not available');
}