Changeset 51331 for trunk/tests/phpunit/tests/http/functions.php
- Timestamp:
- 07/05/2021 05:21:53 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/http/functions.php
r51300 r51331 20 20 $headers = wp_remote_retrieve_headers( $response ); 21 21 22 $this->assertI nternalType( 'array',$response );22 $this->assertIsArray( $response ); 23 23 24 24 $this->assertSame( 'image/jpeg', $headers['content-type'] ); … … 64 64 $headers = wp_remote_retrieve_headers( $response ); 65 65 66 $this->assertI nternalType( 'array',$response );66 $this->assertIsArray( $response ); 67 67 68 68 // Should return the same headers as a HEAD request.
Note: See TracChangeset
for help on using the changeset viewer.