- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/http/wpRemoteRetrieveHeaders.php
r50345 r52010 10 10 * Valid response 11 11 */ 12 function test_remote_retrieve_headers_valid_response() {12 public function test_remote_retrieve_headers_valid_response() { 13 13 $headers = 'headers_data'; 14 14 $response = array( 'headers' => $headers ); … … 21 21 * Response is a WP_Error 22 22 */ 23 function test_remote_retrieve_headers_is_error() {23 public function test_remote_retrieve_headers_is_error() { 24 24 $response = new WP_Error( 'Some error' ); 25 25 … … 31 31 * Response does not contain 'headers' 32 32 */ 33 function test_remote_retrieve_headers_invalid_response() {33 public function test_remote_retrieve_headers_invalid_response() { 34 34 $response = array( 'no_headers' => 'set' ); 35 35
Note: See TracChangeset
for help on using the changeset viewer.