Make WordPress Core


Ignore:
Timestamp:
09/11/2017 12:37:55 AM (7 years ago)
Author:
johnbillion
Message:

Build/Test Tools: Convert more test skipping into hard failures.

See #41851

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/http/http.php

    r38726 r41367  
    1313     */
    1414    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 
    2015        $actual = WP_Http::make_absolute_url( $relative_url, $absolute_url );
    2116        $this->assertEquals( $expected, $actual );
Note: See TracChangeset for help on using the changeset viewer.