Changeset 40519
- Timestamp:
- 04/22/2017 06:44:18 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/external-http/basic.php
r40241 r40519 15 15 $response = wp_remote_get( 'https://secure.php.net/supported-versions.php' ); 16 16 if ( 200 != wp_remote_retrieve_response_code( $response ) ) { 17 $this-> markTestSkipped( 'Could not contact PHP.net to check versions.' );17 $this->fail( 'Could not contact PHP.net to check versions.' ); 18 18 } 19 19 $php = wp_remote_retrieve_body( $response ); … … 27 27 $response = wp_remote_get( "https://dev.mysql.com/doc/relnotes/mysql/{$matches[1]}/en/" ); 28 28 if ( 200 != wp_remote_retrieve_response_code( $response ) ) { 29 $this-> markTestSkipped( 'Could not contact dev.MySQL.com to check versions.' );29 $this->fail( 'Could not contact dev.MySQL.com to check versions.' ); 30 30 } 31 31 $mysql = wp_remote_retrieve_body( $response );
Note: See TracChangeset
for help on using the changeset viewer.