[wp-trac] [WordPress Trac] #50640: [PHPUnit] Mark test as skipped instead of failing if GD extension is not availble

WordPress Trac noreply at wordpress.org
Thu Nov 12 17:24:01 UTC 2020


#50640: [PHPUnit] Mark test as skipped instead of failing if GD extension is not
availble
-------------------------------------------------+-------------------------
 Reporter:  ayeshrajans                          |       Owner:
                                                 |  SergeyBiryukov
     Type:  task (blessed)                       |      Status:  closed
 Priority:  normal                               |   Milestone:  5.6
Component:  Build/Test Tools                     |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  php8 dev-feedback has-patch has-     |     Focuses:
  unit-tests                                     |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"49571" 49571]:
 {{{
 #!CommitTicketReference repository="" revision="49571"
 Build/Test Tools: Only enforce PHP extension requirements when running
 core tests.

 This allows other users of the WordPress unit test suite framework to run
 their own unit tests without needing the GD extension, which should only
 be a requirement if running core tests.

 Follow-up to [49535].

 Props jamescollins.
 Fixes #50640.
 }}}

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


More information about the wp-trac mailing list