From 1768c8c85aaab79621e0dc385ef28aa09eb949c9 Mon Sep 17 00:00:00 2001 From: Helen Hou-Sandi Date: Wed, 29 Jul 2015 22:14:33 +0000 Subject: [PATCH] Fix a unit test failure after [33489]. see #33179. git-svn-id: https://develop.svn.wordpress.org/trunk@33506 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/media.php b/tests/phpunit/tests/media.php index eab27168ad..68ac7eebc8 100644 --- a/tests/phpunit/tests/media.php +++ b/tests/phpunit/tests/media.php @@ -57,7 +57,7 @@ CAP; ) ); $this->assertEquals( 1, preg_match_all( '/wp-caption &myAlignment/', $result, $_r ) ); - $this->assertEquals( 1, preg_match_all( '/id=""myId"/', $result, $_r ) ); + $this->assertEquals( 1, preg_match_all( '/id="myId"/', $result, $_r ) ); $this->assertEquals( 1, preg_match_all( "/{$this->caption}/", $result, $_r ) ); }