Make WordPress Core


Ignore:
Timestamp:
03/26/2019 12:45:57 AM (6 years ago)
Author:
johnbillion
Message:

Build/Test tools: Fix the Travis CI build for the 4.0 branch.

Among other fixes, this backports [29860], [29869], [29954], [30160], [30530].

Fixes #46646

Location:
branches/4.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.0

  • branches/4.0/tests/phpunit/tests/canonical/https.php

    r28713 r45013  
    4545     * @ticket 27954
    4646     */
    47     public function test_http_request_with_https_home() {
    48 
    49         add_filter( 'home_url', array( $this, 'set_https' ) );
    50 
    51         $redirect = redirect_canonical( $this->http, false );
    52 
    53         $this->assertEquals( $redirect, $this->https );
    54 
    55         remove_filter( 'home_url', array( $this, 'set_https' ) );
    56 
    57     }
    58 
    59     /**
    60      * @ticket 27954
    61      */
    6247    public function test_https_request_with_https_home() {
    6348
Note: See TracChangeset for help on using the changeset viewer.