[wp-trac] [WordPress Trac] #40041: Use `markTestSkipped()` vs `echo` in REST API schema initialization tests

WordPress Trac noreply at wordpress.org
Mon Mar 27 21:04:08 UTC 2017


#40041: Use `markTestSkipped()` vs `echo` in REST API schema initialization tests
--------------------------+-------------------------
 Reporter:  jeremyfelt    |       Owner:  jeremyfelt
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.8
Component:  REST API      |     Version:  trunk
 Severity:  normal        |  Resolution:  fixed
 Keywords:  needs-patch   |     Focuses:  rest-api
--------------------------+-------------------------
Changes (by jeremyfelt):

 * owner:   => jeremyfelt
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"40341"]:
 {{{
 #!CommitTicketReference repository="" revision="40341"
 Tests: Consolidate logic used to skip API fixture generation.

 This checks for `is_multisite()` and the minimum PHP version in the same
 block and removes two `echo` statements previously used to indicate
 generation had been skipped.

 Fixes #40041.
 }}}

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


More information about the wp-trac mailing list