Fix typo and add tests for fonts install endpoint#53644
Conversation
|
This pull request has changed or added PHP files. Please confirm whether these changes need to be synced to WordPress Core, and therefore featured in the next release of WordPress. If so, it is recommended to create a new Trac ticket and submit a pull request to the WordPress Core Github repository soon after this pull request is merged. If you're unsure, you can always ask for help in the #core-editor channel in WordPress Slack. Thank you! ❤️ View changed files❔ lib/experimental/fonts-library/class-wp-rest-fonts-library-controller.php ❔ phpunit/fonts-library/class-wp-rest-fonts-library-controller-test.php |
|
Flaky tests detected in a775572. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5858180328
|
hellofromtonya
left a comment
There was a problem hiding this comment.
Assuming I didn't again mess up the formatting for wpcs/phpcs ;), the changes LGTM 👍 Once the CI jobs are all 👍 , ready for merge. Great job @anton-vlasenko and @matiasbenedetto!
|
Well boo, seems I further messed up the alignment as WPCS is not happy. Instead of using the GH suggestion tool, I'll pull this PR down and fix it. Working on it now. |
|
Thanks for the review! |
What?
Testing Instructions
Run WP_REST_Fonts_Library_Controller_Test PHP unit tests