Changeset 25224 for trunk/tests/phpunit/tests/http/base.php
- Timestamp:
- 09/04/2013 04:48:21 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/http/base.php
r25046 r25224 271 271 $this->assertEquals( 'PASS', wp_remote_retrieve_body( $res ) ); 272 272 } 273 274 /** 275 * Test if HTTPS support works 276 * 277 * @group ssl 278 * @ticket 25007 279 */ 280 function test_ssl() { 281 if ( ! wp_http_supports( array( 'ssl' ) ) ) 282 $this->markTestSkipped( 'This install of PHP does not support SSL' ); 283 284 $res = wp_remote_get( 'https://wordpress.org/' ); 285 $this->assertTrue( ! is_wp_error( $res ), print_r( $res, true ) ); 286 } 287 288 273 289 }
Note: See TracChangeset
for help on using the changeset viewer.