Skip to content

Commit

Permalink
Fix test expectation
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
cmb69 committed Mar 29, 2019
1 parent 402adc1 commit 0aa1a2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/standard/tests/mail/mail_variation_alt3-win32.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0aa1a2c

Please sign in to comment.