Make WordPress Core

Changeset 53454


Ignore:
Timestamp:
06/01/2022 02:16:39 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Tests: Require the zip PHP extension in block templates export file test.

This avoids a test failure if the ZipArchive class is missing.

Additionally, this commit replaces an inline check for the ZipArchive class in personal data export file tests with a @requires annotation, for consistency with similar PHP extension requirements in other tests.

Follow-up to [44786], [51415], [52286].

See #55652.

Location:
trunk/tests/phpunit/tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.