Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo and add tests for fonts install endpoint #53644

Merged
merged 9 commits into from
Aug 14, 2023

Conversation

matiasbenedetto
Copy link
Contributor

What?

Testing Instructions

Run WP_REST_Fonts_Library_Controller_Test PHP unit tests

@github-actions
Copy link

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

@matiasbenedetto matiasbenedetto added the [Type] Bug An existing feature does not function as intended label Aug 14, 2023
@hellofromtonya hellofromtonya removed the request for review from spacedmonkey August 14, 2023 16:52
@github-actions
Copy link

Flaky tests detected in a775572.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5858180328
📝 Reported issues:

Copy link
Contributor

@hellofromtonya hellofromtonya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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!

@hellofromtonya
Copy link
Contributor

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.

@matiasbenedetto
Copy link
Contributor Author

matiasbenedetto commented Aug 14, 2023

Thanks for the review!

@matiasbenedetto matiasbenedetto merged commit f3fa02b into trunk Aug 14, 2023
@matiasbenedetto matiasbenedetto deleted the fix/typo_uplodaded_file branch August 14, 2023 18:05
@github-actions github-actions bot added this to the Gutenberg 16.5 milestone Aug 14, 2023
@SiobhyB SiobhyB added the [Feature] Typography Font and typography-related issues and PRs label Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Typography Font and typography-related issues and PRs [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants