Skip to content

Font Library: Remove tests from font library rest controllers already merged into core#58778

Merged
matiasbenedetto merged 2 commits intotrunkfrom
remove/font-library-gutenberg-tests
Feb 7, 2024
Merged

Font Library: Remove tests from font library rest controllers already merged into core#58778
matiasbenedetto merged 2 commits intotrunkfrom
remove/font-library-gutenberg-tests

Conversation

@matiasbenedetto
Copy link
Copy Markdown
Contributor

@matiasbenedetto matiasbenedetto commented Feb 7, 2024

What?

Font Library: Remove tests from font library rest controllers already merged into core

Why?

The rest controller classes were already merged into core codebase so they not longer run on Gutenberg running with Wordpress < 6.5

How?

Removing the unit tests for the rest of the controllers already merged into core.

@youknowriad
Copy link
Copy Markdown
Contributor

Approving because the code being tested is actually the core code because of the class_exists checks.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 7, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Core SVN

Core Committers: Use this line as a base for the props when committing in SVN:

Props mmaattiiaass, youknowriad.

GitHub Merge commits

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: matiasbenedetto <mmaattiiaass@git.wordpress.org>
Co-authored-by: youknowriad <youknowriad@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@matiasbenedetto matiasbenedetto enabled auto-merge (squash) February 7, 2024 15:39
@matiasbenedetto matiasbenedetto merged commit 27dc690 into trunk Feb 7, 2024
@matiasbenedetto matiasbenedetto deleted the remove/font-library-gutenberg-tests branch February 7, 2024 16:09
@github-actions github-actions bot added this to the Gutenberg 17.7 milestone Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] Font Library [Type] Code Quality Issues or PRs that relate to code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants