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

WordPress Trac noreply at wordpress.org
Mon Mar 27 17:21:20 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.8
Component:  REST API      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  rest-api
--------------------------+-----------------------
Changes (by jeremyfelt):

 * keywords:  needs-patch dev-feedback => needs-patch


Comment:

 Replying to [comment:5 jnylen0]:
 > We could also just remove these echo statements entirely.

 This sounds right if no tests are being skipped. I don't think I looked
 close enough when opening the ticket to see what the `echo` was actually
 communicating.

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


More information about the wp-trac mailing list