Zend Framework

DOM errors are caught by PHPUnit when using ControllerTestCase

Details

Description

In 1.10.1, we removed the suppression operator from DOMDocument::loadFile/loadHTMLFile calls. However, this means that if DOMDocument reports errors – even just notices or warnings – PHPUnit's error handler catches these and reports errors. This can result in false negatives in ControllerTestCase test cases.

Issue Links

Activity

Hide
Matthew Weier O'Phinney added a comment -

Fixed in trunk and 1.10 release branch.

Show
Matthew Weier O'Phinney added a comment - Fixed in trunk and 1.10 release branch.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: