Opened 14 months ago
Closed 14 months ago
#62307 closed defect (bug) (duplicate)
HTTP unit test failing, URL is now resolving
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Build/Test Tools | Keywords: | needs-patch |
| Focuses: | Cc: |
Description
In the PHPUnit tests, there is a collection of tests the check to ensure certain URLs don't validate, the tests is test_wp_http_validate_url_should_not_validate in tests/phpunit/tests/http/http.php. One is based on a URL presumed to not exist, however the URL is now registered and resolving to a website.
The address used currently is βhttp://exampleeeee.com/caniload.php at line 552:
https://core.trac.wordpress.org/browser/trunk/tests/phpunit/tests/http/http.php#L552
Changing that URL, for example by adding another e in the domain will restore the test, although there may be a better solution.
Change History (1)
Note: See
TracTickets for help on using
tickets.
Duplicate of #62303.