[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
Mon Sep 21 13:25:53 UTC 2020
#50640: [PHPUnit] Mark test as skipped instead of failing if GD extension is not
availble
------------------------------+-----------------------------
Reporter: ayeshrajans | Owner: SergeyBiryukov
Type: enhancement | Status: accepted
Priority: normal | Milestone: 5.6
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch php8 | Focuses:
------------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"49025" 49025]:
{{{
#!CommitTicketReference repository="" revision="49025"
Tests: Convert a few more `function_exists()` and `extension_loaded()`
checks to `@requires` annotations.
This better utilizes the PHPUnit native functionality.
Follow-up to [49024].
See #50639, #50640.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50640#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list