Commit 4b5efee
committed
Tests: Move the HTTP response codes test for consistency.
While the test was originally written to verify that the `WP_Http` class has all the HTTP response codes as constants, it ensures that the constants match the response codes stored in the `$wp_header_to_desc` global used by the `get_status_header_desc()` function, so the latter's unit test file appears to be the logical placement.
Follow-up to [36749], [46107].
Props pbearne, khokansardar, SergeyBiryukov.
Fixes #65527.
git-svn-id: https://develop.svn.wordpress.org/trunk@62593 602fd350-edb4-49c9-b593-d223f7449a821 parent 2303172 commit 4b5efee
2 files changed
Lines changed: 18 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
44 | 62 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | 280 | | |
298 | 281 | | |
299 | 282 | | |
| |||
0 commit comments