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

Tests: fix a few assertions #18205

Merged
merged 1 commit into from
Mar 14, 2022
Merged

Tests: fix a few assertions #18205

merged 1 commit into from
Mar 14, 2022

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Mar 14, 2022

Context

  • Improve tests

Summary

This PR can be summarized in the following changelog entry:

  • Improve tests

Relevant technical choices:

These assertions should have been updated when the PHPUnit Polyfills were introduced, but they have clearly fallen through the cracks as the tests were not run against WP Multisite previously (which they soon will be, which is how this was discovered).

Test instructions

Test instructions for the acceptance test before the PR gets merged

This PR can be acceptance tested by following these steps:

  • N/A If the build passes, we're good.

These assertions should have been updated when the PHPUnit Polyfills were introduced, but they have clearly fallen through the cracks as the tests were not run against WP Multisite previously (which they soon will be, which is how this was discovered).
@jrfnl jrfnl added yoast cs/qa changelog: non-user-facing Needs to be included in the 'Non-userfacing' category in the changelog labels Mar 14, 2022
@jrfnl jrfnl added this to the 18.5 milestone Mar 14, 2022
@jrfnl jrfnl merged commit d11fcb4 into trunk Mar 14, 2022
@jrfnl jrfnl deleted the JRF/QA/tests-fix-a-few-assertions branch March 14, 2022 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: non-user-facing Needs to be included in the 'Non-userfacing' category in the changelog yoast cs/qa
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant