-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #17 : Fixes when set -f option, no set -f option automatically #104
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've made one suggestion to how you check for the -f
flag.
Additionally, we need tests demonstrating that the setParameters()
method uses the parameter passed to the transport and NOT the sender and/or from address when it is provided; currently, you only demonstrate it is used when provided, and not used when not present, but not the additional case where it is not provided and falls through to the sender or from address.
Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've combined the two unit tests into a single one backed by a data provider. I think it's ready to 🚢 once tests have run.
…ically Signed-off-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
…" conditions Signed-off-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
This patch combines what was previously two test methods, `testNotSetOptionAutomaticallyOnLeadingF` and `testNotSetOptionAutomaticallyOnMiddleF`, into one method that better describes the behaviour (`testDoesNotInjectFromParameterFromSenderWhenFromOptionPresentInParameters`) and which uses a data provider to demonstrate various permutations of parameters containing a `-f` switch. Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
Description
Re-create zendframework/zend-mail#227 by @tzmfreedom Fixes #17 . Original PR description :