#1113: Testing Framework Limitations
---------------------+------------------------------------------------------
 Reporter:  jake     |        Owner:  felix  
     Type:  defect   |       Status:  closed 
 Priority:  high     |    Milestone:         
Component:  testing  |      Version:  1.0.1  
 Severity:  normal   |   Resolution:  invalid
 Keywords:           |    Has_patch:  0      
---------------------+------------------------------------------------------

Comment(by jake):

 The assertion that I had the biggest issue was the
 {{{assertResponseHasContentType}}}. If you test using a JSON view with
 {{{assertResponseHasContentType('application/json; charset=UTF-8')}}} (as
 defined in the default output_types.xml), which I would expect to work, it
 doesn't. It doesn't work for the reasons that you stated. It may be that
 that assertion actually needs to be moved to the flow test since you
 actually don't want your views having to do {{{setContentType}}}.

-- 
Ticket URL: <http://trac.agavi.org/ticket/1113#comment:5>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5


_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to