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

Migrate External_HTTP_Basic tests #2950

Conversation

ironprogrammer
Copy link

@ironprogrammer ironprogrammer commented Jul 6, 2022

Migrates tests designated for External_HTTP_Basic (which doesn't exist) to a new location for better context. Also updates test class name for clarity, and @covers annotations to @coversNothing.

Trac ticket: https://core.trac.wordpress.org/ticket/45867


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

Existing `@covers` give a false impression for intent of tests. The functions in question are tested elsewhere in a direct, intentional manner.

This update mitigates false positive coverage.
Since these tests are for `/readme.html`, move to more consistent, intuitive location.
Copy link

@anton-vlasenko anton-vlasenko left a comment

Choose a reason for hiding this comment

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

LGTM! Good job.

@SergeyBiryukov
Copy link
Member

Thanks for the PR! Merged in r54479.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants