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

Navigation: Move the Navigation block rendering tests to the blocks directory #58247

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

scruffian
Copy link
Contributor

What?

As suggested in #55605 (comment), this moves the test file to the blocks directory.

Why?

The class is also in the blocks directory now, so this matches.

How?

git mv

Testing Instructions

Check the automated tests run and pass.

@scruffian scruffian added [Type] Code Quality Issues or PRs that relate to code quality [Block] Navigation Affects the Navigation Block labels Jan 25, 2024
@scruffian scruffian self-assigned this Jan 25, 2024
@scruffian scruffian requested a review from getdave January 25, 2024 11:20
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/blocks/class-wp-navigation-block-renderer-test.php

Copy link
Contributor

@getdave getdave left a comment

Choose a reason for hiding this comment

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

Thank you for this PR ❤️

Confirming that files in phpunit/blocks don't need to be synced to WP Core for a release.

@scruffian scruffian merged commit 94a35df into trunk Jan 25, 2024
59 checks passed
@scruffian scruffian deleted the move/nav-block-renderer-test branch January 25, 2024 16:01
@github-actions github-actions bot added this to the Gutenberg 17.7 milestone Jan 25, 2024
@getdave
Copy link
Contributor

getdave commented Jan 26, 2024

This does not require a backport.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Navigation Affects the Navigation Block [Type] Code Quality Issues or PRs that relate to code quality
Projects
Development

Successfully merging this pull request may close these issues.

2 participants