Fixes #5962#6157
Conversation
There was a problem hiding this comment.
Can you swap this to remove the else?
|
@Ocramius done ;) please let me know if I missed something , Thank you ;) |
There was a problem hiding this comment.
Do you really need the mail dependency to testZend\Mime?
There was a problem hiding this comment.
it is to proof that this test fix the issue based on #5962 explanation, should I remove it ?
There was a problem hiding this comment.
@samsonasik an integration test in ZendTest\Mail would be better (plus the unit test here)
|
@Ocramius done ;) I added test in |
|
@samsonasik thanks, this is much cleaner! |
…ng-on-no-part' into develop Close zendframework/zendframework#5962 Close zendframework/zendframework#6157 Forward Port zendframework/zendframework#5962 Forward Port zendframework/zendframework#6157
…ng-on-no-part' into develop Close zendframework/zendframework#5962 Close zendframework/zendframework#6157 Forward Port zendframework/zendframework#5962 Forward Port zendframework/zendframework#6157
Fixes #5962 . Based on Zend\Mime\Message::generateMessage() comment description, If no part had been added, an empty string is returned.