Hi, all!
In one of my plugins i set cookie in preDispatch method with the setcookie
function. And when i try to test my controllers with descendant of the
Zend_Test_PHPUnit_ControllerTestCase class i receive an error "Cannot modify
header information - headers already sent by". I think it occures because i
set cookie with PHP native function, not with method of ZF classes. How can
i set cookies to have no error ocurred?
--
View this message in context:
http://www.nabble.com/Zend_Test-%2B-setcookie%28%29-%3D-error-tp19834606p19834606.html
Sent from the Zend Framework mailing list archive at Nabble.com.