Changeset 37989 for trunk/tests/phpunit/tests/http/functions.php
- Timestamp:
- 07/06/2016 05:50:44 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/http/functions.php
r37428 r37989 23 23 $this->assertEquals( '40148', $headers['content-length'] ); 24 24 $this->assertEquals( '200', wp_remote_retrieve_response_code( $response ) ); 25 } 26 27 /** 28 * @depends test_head_request 29 */ 30 function test_returns_array() { 31 $url = 'https://asdftestblog1.files.wordpress.com/2007/09/2007-06-30-dsc_4700-1.jpg'; 32 $response = wp_remote_head( $url ); 33 $this->assertInternalType( 'array', $response ); 25 34 } 26 35
Note: See TracChangeset
for help on using the changeset viewer.