]> granicus.if.org Git - php/commitdiff
Fix test expectation
authorChristoph M. Becker <cmbecker69@gmx.de>
Fri, 29 Mar 2019 08:45:38 +0000 (09:45 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Fri, 29 Mar 2019 08:55:04 +0000 (09:55 +0100)
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`.

ext/standard/tests/mail/mail_variation_alt3-win32.phpt

index ae6e308715ad1311c371d6ab2347a3df89647bd5..e31607feafbb4cea7c7b23a7de35c9f8dca50983 100644 (file)
@@ -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