It's a very useful and necessary function. It would be nice to add a line about this to the documentation.

One must call reset($keepPersistence = true) in order for multiple calls to dispatch in one test function to work properly.

It looks like setUp() calls reset() and therefore unless you are making multiple calls to dispatch() it won't affect you.

I suppose it's nothing more than dealing with $_GET and $_POST and the eventmanager, but it would save some n00b like me hours of debugging.

Thanks,

Simon

--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to