-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[Ignore] Check if tests detect missing injected theme attribute #5155
[Ignore] Check if tests detect missing injected theme attribute #5155
Conversation
Ah, I realized the line I changed got rid of the entire template content, not just the theme attribute injection. Let's try once more... |
Okay, tests are still failing:
Still a bit surprised it's not the following test that seems to be failing: wordpress-develop/tests/phpunit/tests/block-template-utils.php Lines 164 to 203 in bd594f7
|
Ah nevermind, that test literally just covers the |
Closing. I've added test coverage for this in #5186 (https://core.trac.wordpress.org/changeset/56562/). |
We have a dedicated test for this:
wordpress-develop/tests/phpunit/tests/block-template-utils.php
Lines 164 to 203 in bd594f7
If I remove theme attribute injection (as done by this branch), the test still seems to pass locally 🤔
To reproduce:
npm run test:php -- --group=block-templates