[wp-trac] [WordPress Trac] #32687: Customizer Menus: Complete PHPUnit tests

WordPress Trac noreply at wordpress.org
Sat Jul 11 07:02:25 UTC 2015


#32687: Customizer Menus: Complete PHPUnit tests
-------------------------------------+---------------------------
 Reporter:  designsimply             |       Owner:  valendesigns
     Type:  task (blessed)           |      Status:  assigned
 Priority:  high                     |   Milestone:  4.3
Component:  Customize                |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------------

Comment (by westonruter):

 @welcher Looks good to me! I haven't dove into the unit tests for WP Ajax
 in other parts of Core, but as long as you're following the existing
 cowpaths, then we should be great. One thing: it looks like the tests are
 missing an `ajax` test group. I believe that this has to be used instead
 of `customize` due to the special behavior of `wp_send_json()` when
 `DOING_AJAX`.

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


More information about the wp-trac mailing list