[wp-trac] [WordPress Trac] #21993: Add WP_DOING_TESTS constant, check for it in WP_Ajax_Response

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 25 21:11:26 UTC 2012


#21993: Add WP_DOING_TESTS constant, check for it in WP_Ajax_Response
-------------------------+------------------------------
 Reporter:  alexkingorg  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Unit Tests   |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by bpetty):

 Have you looked at the WP_Ajax_UnitTestCase provided in the core unit
 tests framework? We have a number of AJAX methods (that use wp-admin
 /admin-ajax.php) under core tests already that use this.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21993#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list