tutorial and other resources at http://www.zendcasts.com/unit-testing-with-the-zend-framework-with-zend_test-and-phpunit/
However, when using the methods assertQueryContentContains() or
assertXpathContentContains(), I get the following exception:
Zend_Dom_Exception: Error parsing document (type == docXml)
Other methods such as assertModule(), assertController(),
assertAction() and assertResponseCode() are working fine.
Has anyone else encountered this, or have clues as to how to fix?
Regards,
Ian
没有评论:
发表评论