diff --git a/tests/phpunit/tests/media.php b/tests/phpunit/tests/media.php index 14e92af1c2..5a7278e8ce 100644 --- a/tests/phpunit/tests/media.php +++ b/tests/phpunit/tests/media.php @@ -123,7 +123,7 @@ CAP; global $wp_embed; $out = wp_oembed_get( 'http://www.youtube.com/watch?v=oHg5SJYRHA0' ); - $this->assertContains( 'http://www.youtube.com/embed/oHg5SJYRHA0?feature=oembed', $out ); + $this->assertContains( 'https://www.youtube.com/embed/oHg5SJYRHA0?feature=oembed', $out ); $out = wp_oembed_get( 'https://www.youtube.com/watch?v=oHg5SJYRHA0' ); $this->assertContains( 'https://www.youtube.com/embed/oHg5SJYRHA0?feature=oembed', $out );