- Timestamp:
- 04/06/2024 02:19:35 PM (2 years ago)
- Location:
- branches/6.5
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tests/phpunit/tests/functions/wpRemoteFopen.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/6.5
-
branches/6.5/tests/phpunit/tests/functions/wpRemoteFopen.php
r57908 r57935 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.