Make WordPress Core

Changeset 29515


Ignore:
Timestamp:
08/17/2014 11:48:03 AM (11 years ago)
Author:
ocean90
Message:

Fix expected value in Tests_Media::test_video_shortcode_body().
Since [29457] the .wp-video wrapper for a video has a height set.

fixes #29110.

File:
1 edited

Legend:

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

    r28788 r29515  
    395395        $content = apply_filters( 'the_content', $video );
    396396
    397         $expected = '<div style="width: ' . $w . 'px; max-width: 100%;" class="wp-video">' .
     397        $expected = '<div style="width: ' . $w . 'px; height: ' . $h . 'px; " class="wp-video">' .
    398398            "<!--[if lt IE 9]><script>document.createElement('video');</script><![endif]-->\n" .
    399399            '<video class="wp-video-shortcode" id="video-' . $post_id . '-1" width="' . $w . '" height="' . $h . '" preload="metadata" controls="controls">' .
Note: See TracChangeset for help on using the changeset viewer.