From 9b85472ac96ef6ab8474dc752dd63a5695952f92 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Wed, 5 Feb 2014 05:16:22 +0000 Subject: [PATCH] The unit test for the video shortcode needs to mimic the default params for width and post ID. See #26628. git-svn-id: https://develop.svn.wordpress.org/trunk@27100 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/media.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/tests/media.php b/tests/phpunit/tests/media.php index 9b1543f6c2..c149b69c0d 100644 --- a/tests/phpunit/tests/media.php +++ b/tests/phpunit/tests/media.php @@ -373,6 +373,8 @@ CONTENT; $width = 720; $height = 480; + $post_id = get_post() ? get_the_ID() : 0; + $video =<<