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

WordPress Trac noreply at wordpress.org
Mon Mar 6 08:38:34 UTC 2017


#40041: Use `markTestSkipped()` vs `echo` in REST API schema initialization tests
--------------------------+-------------------------
 Reporter:  jeremyfelt    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.7.4
Component:  REST API      |    Version:  trunk
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:  rest-api      |
--------------------------+-------------------------
 [40066] and [40077] use `echo()` to output test skipped messages.
 `markTestSkipped()` should be used for both of these so that the output is
 not displayed while tests are running.

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


More information about the wp-trac mailing list