Changeset 41367 for trunk/tests/phpunit/tests/http/http.php
- Timestamp:
- 09/11/2017 12:37:55 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/http/http.php
r38726 r41367 13 13 */ 14 14 function test_make_absolute_url( $relative_url, $absolute_url, $expected ) { 15 if ( ! is_callable( array( 'WP_Http', 'make_absolute_url' ) ) ) {16 $this->markTestSkipped( "This version of WP_HTTP doesn't support WP_HTTP::make_absolute_url()" );17 return;18 }19 20 15 $actual = WP_Http::make_absolute_url( $relative_url, $absolute_url ); 21 16 $this->assertEquals( $expected, $actual );
Note: See TracChangeset
for help on using the changeset viewer.