Changeset 57904
- Timestamp:
- 04/01/2024 02:30:47 PM (8 months ago)
- Location:
- trunk/tests/phpunit/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions/wpRemoteFopen.php
r57903 r57904 32 32 33 33 $this->assertIsString( $response ); 34 $this->assertSame( 31325, strlen( $response ) );34 $this->assertSame( 40148, strlen( $response ) ); 35 35 } 36 36 } -
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.