- Timestamp:
- 04/04/2024 09:10:39 PM (2 years ago)
- Location:
- branches/6.4
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tests/phpunit/tests/functions/wpRemoteFopen.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/6.4
-
branches/6.4/tests/phpunit/tests/functions/wpRemoteFopen.php
r51331 r57930 27 27 public function test_wp_remote_fopen() { 28 28 // This URL gives a direct 200 response. 29 $url = 'https://asdftestblog1. files.wordpress.com/2007/09/2007-06-30-dsc_4700-1.jpg';29 $url = 'https://asdftestblog1.wordpress.com/wp-content/uploads/2007/09/2007-06-30-dsc_4700-1.jpg'; 30 30 $response = wp_remote_fopen( $url ); 31 31 32 32 $this->assertIsString( $response ); 33 $this->assertSame( 40148, strlen( $response ) );33 $this->assertSame( 31325, strlen( $response ) ); 34 34 } 35 35 }
Note: See TracChangeset
for help on using the changeset viewer.