mirrored from git://develop.git.wordpress.org/
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor REST API request tests to use arrays
Replaced instances of WP_REST_Request with array structures in unit tests. This simplifies the test cases and ensures compatibility with the rest_filter_response_fields function.
- Loading branch information
paul bearne
committed
Jul 24, 2024
1 parent
748f3b3
commit 2bafdc8
Showing
1 changed file
with
36 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters