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 Font library unit tests #54645

Merged
merged 1 commit into from Sep 20, 2023
Merged

Fix Font library unit tests #54645

merged 1 commit into from Sep 20, 2023

Conversation

madhusudhand
Copy link
Contributor

What?

This fixes the failing unit tests

Why?

They are failing due to introduction of mime validation in #53986

Testing Instructions

Unit Tests should run without errors. No UI or API testing is needed.

@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
❔ phpunit/tests/fonts/font-library/wpFontFamily/install.php

Copy link
Contributor

@andrewserong andrewserong left a comment

Choose a reason for hiding this comment

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

Looks like the unit tests are passing, and this seems to be a consistent approach as to the other tests. LGTM, thanks for the quick follow-up!

@andrewserong andrewserong added the [Type] Code Quality Issues or PRs that relate to code quality label Sep 20, 2023
@madhusudhand madhusudhand merged commit a45acf5 into trunk Sep 20, 2023
51 checks passed
@madhusudhand madhusudhand deleted the fix/font-mime-unit-tests branch September 20, 2023 05:53
@github-actions github-actions bot added this to the Gutenberg 16.7 milestone Sep 20, 2023
@ramonjd
Copy link
Member

ramonjd commented Sep 20, 2023

Thanks again @madhusudhand !

@mikachan mikachan added [Feature] Typography Font and typography-related issues and PRs [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. and removed [Type] Code Quality Issues or PRs that relate to code quality labels Sep 20, 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] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants