[wp-trac] [WordPress Trac] #50251: Report if populate_network() fails during test installation

WordPress Trac noreply at wordpress.org
Wed Jun 3 21:02:56 UTC 2020


#50251: Report if populate_network() fails during test installation
--------------------------------------+---------------------
 Reporter:  TimothyBlynJacobs         |       Owner:  jorbin
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  5.5
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------
Changes (by jorbin):

 * owner:  (none) => jorbin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47904" 47904]:
 {{{
 #!CommitTicketReference repository="" revision="47904"
 Build/Test: Die with an error if populate_network fails

 If you are missing WP_TESTS_EMAIL, populate_network will fail and it can
 be hard to debug. As populate_network can return a wp_error object, we can
 detect that and display the error to a user.

 See: https://github.com/WordPress/gutenberg/pull/22613
 Fixes: #50251
 Props: TimothyBlynJacobs
 }}}

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


More information about the wp-trac mailing list