[wp-trac] [WordPress Trac] #41561: Remove usage of DOING_AJAX in the test suite

WordPress Trac noreply at wordpress.org
Mon Oct 23 03:00:22 UTC 2017


#41561: Remove usage of DOING_AJAX in the test suite
------------------------------+--------------------------
 Reporter:  johnbillion       |       Owner:  johnbillion
     Type:  enhancement       |      Status:  reopened
 Priority:  normal            |   Milestone:  4.9
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-unit-tests  |     Focuses:
------------------------------+--------------------------

Comment (by peterwilsoncc):

 [attachment:41561.3.diff] moves the filter from `setUpBeforeClass()` to
 `setUp()` in `WP_Ajax_UnitTestCase`. All other occurrences are in the
 correct location.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41561#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list