Changeset 57931 for trunk/tests/phpunit/tests/functions/wpRemoteFopen.php
- Timestamp:
- 04/05/2024 12:10:13 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions/wpRemoteFopen.php
r57904 r57931 28 28 public function test_wp_remote_fopen() { 29 29 // This URL gives a direct 200 response. 30 $url = 'https:// asdftestblog1.wordpress.com/wp-content/uploads/2007/09/2007-06-30-dsc_4700-1.jpg';30 $url = 'https://s.w.org/screenshots/3.9/dashboard.png'; 31 31 $response = wp_remote_fopen( $url ); 32 32 33 33 $this->assertIsString( $response ); 34 $this->assertSame( 40148, strlen( $response ) );34 $this->assertSame( 153204, strlen( $response ) ); 35 35 } 36 36 }
Note: See TracChangeset
for help on using the changeset viewer.