Repository navigation
Commit b89652b
Tests: Run the streams transport tests without live external HTTP.
The HTTP transport tests chose a transport with the `use_{$transport}_transport` filters, which only `WP_Http_Curl::test()` and `WP_Http_Streams::test()` read. `WP_Http::request()` passes requests to Requests, which picked cURL, so `Tests_HTTP_streams` was running on cURL. Set the Requests transport for each test class instead, and move the streams tests out of the external-http group.
Follow-up to [65320].
Developed in: WordPress#15787
Props shailu25.
See #63914.
git-svn-id: https://develop.svn.wordpress.org/trunk@65333 602fd350-edb4-49c9-b593-d223f7449a821 parent eb79078 commit b89652b
2 files changed
Lines changed: 27 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
309 | 306 | | |
310 | 307 | | |
311 | 308 | | |
| |||
975 | 972 | | |
976 | 973 | | |
977 | 974 | | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
978 | 996 | | |
979 | 997 | | |
980 | 998 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
0 commit comments