Changeset 57904 for trunk/tests/phpunit/tests/http/functions.php
- Timestamp:
- 04/01/2024 02:30:47 PM (21 months ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/http/functions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/http/functions.php
r57903 r57904 22 22 23 23 $this->assertSame( 'image/jpeg', $headers['Content-Type'] ); 24 $this->assertSame( ' 31325', $headers['Content-Length'] );24 $this->assertSame( '40148', $headers['Content-Length'] ); 25 25 $this->assertSame( 200, wp_remote_retrieve_response_code( $response ) ); 26 26 } … … 67 67 // Should return the same headers as a HEAD request. 68 68 $this->assertSame( 'image/jpeg', $headers['Content-Type'] ); 69 $this->assertSame( ' 31325', $headers['Content-Length'] );69 $this->assertSame( '40148', $headers['Content-Length'] ); 70 70 $this->assertSame( 200, wp_remote_retrieve_response_code( $response ) ); 71 71 } … … 88 88 // Should return the same headers as a HEAD request. 89 89 $this->assertSame( 'image/jpeg', $headers['Content-Type'] ); 90 $this->assertSame( ' 31325', $headers['Content-Length'] );90 $this->assertSame( '40148', $headers['Content-Length'] ); 91 91 $this->assertSame( 200, wp_remote_retrieve_response_code( $response ) ); 92 92 }
Note: See TracChangeset
for help on using the changeset viewer.