Changeset 41367
- Timestamp:
- 09/11/2017 12:37:55 AM (7 years ago)
- Location:
- trunk/tests/phpunit/tests
- Files:
-
- 2 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 ); -
trunk/tests/phpunit/tests/image/meta.php
r40544 r41367 9 9 function setUp() { 10 10 if ( ! extension_loaded( 'gd' ) ) 11 $this-> markTestSkipped( 'The gd PHP extension is not loaded.' );11 $this->fail( 'The gd PHP extension is not loaded.' ); 12 12 if ( ! extension_loaded( 'exif' ) ) 13 $this->markTestSkipped( 'The exif PHP extension is not loaded.' ); 13 $this->fail( 'The exif PHP extension is not loaded.' ); 14 14 15 parent::setUp(); 15 16 }
Note: See TracChangeset
for help on using the changeset viewer.