From: Christoph M. Becker Date: Fri, 29 Mar 2019 08:45:38 +0000 (+0100) Subject: Fix test expectation X-Git-Tag: php-7.3.5RC1~43^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0aa1a2c8333fb828e8f77a369d0f208c1fcb04e3;p=php Fix test expectation The `W32_SM_SENDMAIL_FROM_MALFORMED` error message will only be shown if the `$additional_headers` parameter is passed to `mail`, which is not the case for this test. Instead we have to expect `BAD_MSG_RPATH`. --- diff --git a/ext/standard/tests/mail/mail_variation_alt3-win32.phpt b/ext/standard/tests/mail/mail_variation_alt3-win32.phpt index ae6e308715..e31607feaf 100644 --- a/ext/standard/tests/mail/mail_variation_alt3-win32.phpt +++ b/ext/standard/tests/mail/mail_variation_alt3-win32.phpt @@ -87,5 +87,5 @@ imap_close($imap_stream, CL_EXPUNGE); --EXPECTF-- *** Testing mail() : basic functionality *** -Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in %s on line %d +Warning: mail(): Bad Message Return Path in %s on line %d TEST COMPLETED : Unable to send test email