[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
       
    Sun Sep 20 02:45:49 UTC 2020
    
    
  
#50640: [PHPUnit] Mark test as skipped instead of failing if GD extension is not
availble
------------------------------+---------------------
 Reporter:  ayeshrajans       |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  5.6
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch php8    |     Focuses:
------------------------------+---------------------
Comment (by SergeyBiryukov):
 In [changeset:"49009" 49009]:
 {{{
 #!CommitTicketReference repository="" revision="49009"
 Tests: Skip some image tests if neither GD nor Imagick image editor
 engines are supported on the system.
 The explicit message brings some consistency with other image editor
 tests, specifically the ones using the `WP_Image_UnitTestCase` class.
 Previously, the tests were marked as "risky" in that scenario, due to
 performing no assertions.
 See #50639, #50640.
 }}}
-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50640#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list