Re: [fw-general] Rendering Response when Unit Testing Controllers

2010-01-07 Thread Vladas Diržys
Foundation Irish Representative<http://www.openideurope.eu/> > > > -- > *From:* Vladas Diržys > *To:* fw-general@lists.zend.com > *Sent:* Thu, January 7, 2010 7:49:38 AM > *Subject:* Re: [fw-general] Rendering Response when Unit Testing >

Re: [fw-general] Rendering Response when Unit Testing Controllers

2010-01-07 Thread Pádraic Brady
2010 7:49:38 AM Subject: Re: [fw-general] Rendering Response when Unit Testing Controllers Iteresting only, why Zend_View_Stream doesn't converts short tags to long tags?... -- Regards, Vladas Diržys On Wed, Jan 6, 2010 at 21:32, bparise wrote: > >>I feel like such

Re: [fw-general] Rendering Response when Unit Testing Controllers

2010-01-06 Thread Vladas Diržys
Iteresting only, why Zend_View_Stream doesn't converts short tags to long tags?... -- Regards, Vladas Diržys On Wed, Jan 6, 2010 at 21:32, bparise wrote: > > I feel like such a noob... > Thanks! > > > Vladas Diržys wrote: > > > > Maybe you have short_open_tag disabled? > > > > -- > > Regards,

Re: [fw-general] Rendering Response when Unit Testing Controllers

2010-01-06 Thread bparise
I feel like such a noob... Thanks! Vladas Diržys wrote: > > Maybe you have short_open_tag disabled? > > -- > Regards, > Vladas Diržys > > > On Wed, Jan 6, 2010 at 21:01, bparise wrote: > >> >> I have controller testing with PHPUnit setup, but the response is just >> rendering the PHP code(

Re: [fw-general] Rendering Response when Unit Testing Controllers

2010-01-06 Thread Vladas Diržys
Maybe you have short_open_tag disabled? -- Regards, Vladas Diržys On Wed, Jan 6, 2010 at 21:01, bparise wrote: > > I have controller testing with PHPUnit setup, but the response is just > rendering the PHP code(not actually rendering the views). > > class SiteControllerTest extends Zend_Test_

[fw-general] Rendering Response when Unit Testing Controllers

2010-01-06 Thread bparise
I have controller testing with PHPUnit setup, but the response is just rendering the PHP code(not actually rendering the views). request->setMethod('POST')->setPost(array('username' => 'test', 'password' => 'test')); $this->dispatch('/site/login'); // Always results in an error