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

WordPress Trac noreply at wordpress.org
Mon Jul 13 18:47:01 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 welcher):

 Replying to [comment:10 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`.

 @westonruter Thanks for the feedback! I'm working through some local setup
 issue with running the ajax tests but am hoping to get the rest of these
 test uploaded soon.

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


More information about the wp-trac mailing list