Changeset 43503 for trunk/tests/phpunit/tests/functions.php
- Timestamp:
- 07/18/2018 09:51:53 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions.php
r43501 r43503 1462 1462 */ 1463 1463 public function test_wp_is_stream( $path, $expected ) { 1464 if ( ! extension_loaded( 'openssl' ) && false !== strpos( $path, 'https://' ) ) { 1465 $this->markTestSkipped( 'The openssl PHP extension is not loaded.' ); 1466 } 1467 1464 1468 $this->assertSame( $expected, wp_is_stream( $path ) ); 1465 1469 } … … 1478 1482 return array( 1479 1483 // Legitimate stream examples. 1484 array( 'http://example.com', true ), 1480 1485 array( 'https://example.com', true ), 1481 1486 array( 'ftp://example.com', true ),
Note: See TracChangeset
for help on using the changeset viewer.