[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 Jul 12 20:18:22 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: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Keywords: has-patch
Focuses: |
------------------------------+-----------------------------
There are some tests in WordPress test suite that depend on PHP `gd`
extension. Some of these tests mark the test as a failure if the extension
is not available in the system under test.
I believe these tests should be marked as skipped as opposed to marking as
a failure, which causes some tests to fail (instead of skipping) in
certain PHP 8 builds: #50639
This ticket is not related to PHP 8, but rather on the semantics of the
tests.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50640>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list