[wp-trac] [WordPress Trac] #11892: replace die() and exit() with a pluggable wp_exit(); function
WordPress Trac
wp-trac at lists.automattic.com
Thu Jan 14 07:09:46 UTC 2010
#11892: replace die() and exit() with a pluggable wp_exit(); function
--------------------------+-------------------------------------------------
Reporter: hakre | Owner: westi
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Unit Tests | Version: 3.0
Severity: blocker | Keywords:
--------------------------+-------------------------------------------------
Comment(by dd32):
What functions can you not test due to this?
The Test suite should be testing business logic, exit shouldnt be called
in business logic, the end display logic should be doing that.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11892#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list