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 ) ); }