Closed crism closed 9 years ago
I think the right solution is to use setCallable()
in Zend\Mail\Transport\Sendmail
to use a testing stub instead.
Any instance where "some bin that is hopefully on the path" is used in place of an actual PHP function is generally my fault, and changes are welcomed.
Any activity on this?
@axfelix—just turning my attention back to this now.
The
testRegisterActionValidUser()
test attempts to usesendmail
to send an actual e-mail tounittestuser2@example.com
. This seems inappropriate, and also fails on a dev machine without sendmail installed.