ZF-3786: Unit test output problem.

Issue Type: Unit Tests: Problem Created: 2008-07-29T04:18:50.000+0000 Last Updated: 2008-09-02T10:39:14.000+0000 Status: Resolved Fix version(s): - 1.6.0 (02/Sep/08)

Reporter: Alexander Veremyev (alexander) Assignee: Davey Shafik (davey) Tags: - Zend_Rest_Server

Related issues: Attachments:


Correct output buffering management produces wrong tests results output. Some part of output is skipped.


Posted by Alexander Veremyev (alexander) on 2008-07-29T04:28:49.000+0000

Output failure happened because output ob_end_clean() was used twice. The root of the problem is test failure plus catching Exception instead of Zend_Rest_Server_Exception ($this->fail() PHPUnit functionality is also based on exceptions)

Posted by Wil Sinclair (wil) on 2008-09-02T10:39:14.000+0000

Updating for the 1.6.0 release.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.