WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/15/2017 08:09:57 PM (2 years ago)
Author:
johnbillion
Message:

Tests: Fix a YouTube embed test failing since YouTube switched to HTTPS-only.

Merges [33374] to the 4.0 branch.

Location:
branches/4.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.0

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/4.0/tests/phpunit/tests/media.php

    r39716 r40448  
    124124
    125125        $out = wp_oembed_get( 'http://www.youtube.com/watch?v=oHg5SJYRHA0' );
    126         $this->assertContains( 'http://www.youtube.com/embed/oHg5SJYRHA0?feature=oembed', $out );
     126        $this->assertContains( 'https://www.youtube.com/embed/oHg5SJYRHA0?feature=oembed', $out );
    127127
    128128        $out = wp_oembed_get( 'https://www.youtube.com/watch?v=oHg5SJYRHA0' );
Note: See TracChangeset for help on using the changeset viewer.