#1424: AgaviViewTestCase calls undefined method
---------------------------------------------+------------------------------
Reporter: koen.vandaele@… | Owner: felix
Type: defect | Status: new
Priority: normal | Milestone: 1.0.7
Component: testing | Version: 1.0.6
Severity: normal | Keywords:
Has_patch: 0 |
---------------------------------------------+------------------------------
When unit testing a view I tried to assert that the view sets a certain
HTTP header by using ''$this->assertResponseHasHeader()''. I got the
following:
''1) Actoren_LijstTonenSuccessViewTest::testJson RuntimeException: PHP
Fatal error: Call to undefined method AgaviWebResponse::getHeader() in
/home/vandaeko/Projecten/biblio/libs/agavi/src/testing/AgaviViewTestCase.class.php
on line 208''
--
Ticket URL: <http://trac.agavi.org/ticket/1424>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets