Changeset 45607 for trunk/tests/phpunit/tests/external-http/basic.php
- Timestamp:
- 07/08/2019 12:55:20 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/external-http/basic.php
r40519 r45607 14 14 15 15 $response = wp_remote_get( 'https://secure.php.net/supported-versions.php' ); 16 if ( 200 != wp_remote_retrieve_response_code( $response ) ) {16 if ( 200 !== wp_remote_retrieve_response_code( $response ) ) { 17 17 $this->fail( 'Could not contact PHP.net to check versions.' ); 18 18 } … … 26 26 27 27 $response = wp_remote_get( "https://dev.mysql.com/doc/relnotes/mysql/{$matches[1]}/en/" ); 28 if ( 200 != wp_remote_retrieve_response_code( $response ) ) {28 if ( 200 !== wp_remote_retrieve_response_code( $response ) ) { 29 29 $this->fail( 'Could not contact dev.MySQL.com to check versions.' ); 30 30 }
Note: See TracChangeset
for help on using the changeset viewer.