Opened 3 months ago
Closed 2 months ago
#65527 closed defect (bug) (fixed)
move the tst test_http_response_code_constants from http.php to getStatusHeaderDesc.php
| Reported by: | pbearne | Owned by: | pbearne |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.1 |
| Component: | Build/Test Tools | Version: | |
| Severity: | normal | Keywords: | has-patch has-unit-tests |
| Cc: | Focuses: | tests |
Description
Let's get all tests into the same file
Change History (3)
This ticket was mentioned in PR #12305 on WordPress/wordpress-develop by @khokansardar.
3 months ago
#1
- Keywords has-patch has-unit-tests added
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Moves test_http_response_code_constants() from the HTTP API test file into the test class for get_status_header_desc(), so all tests for that function live in one place.
What the problem was:
What the fix does:
Approach and why:
Trac ticket: https://core.trac.wordpress.org/ticket/65527
## Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 4.8
Used for: Ticket analysis and tests. All changes were reviewed, validated against the codebase, and are taken responsibility for by me.