WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/23/2015 03:49:50 AM (4 years ago)
Author:
pento
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/4.1/tests/phpunit/tests/media.php

    r32172 r33374  
    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.