Issue Type: Improvement Created: 2009-10-21T11:04:16.000+0000 Last Updated: 2012-03-16T12:09:57.000+0000 Status: Open Fix version(s): Reporter: SP (kaioptera) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Controller
Related issues: Attachments:
The FlashMessenger action helper is not test-friendly - if a controller test dispatches an action that adds a message, then resets the MVC system as it must, then dispatches an action that should show the message, the message won't be in the response as one would expect.
This is because:
Posted by Adam Lundrigan (adamlundrigan) on 2012-03-16T12:09:57.000+0000
Mocking is a much better approach to this type of unit testing. See [~bittarman]'s blog post for an example of how to do that: http://rmauger.co.uk/2012/03/…
With his permission I will adapt the blog post into a manual page section.
Have you found an issue?
See the Overview section for more details.