From 94d95184b04ccb49f593720ffb04fb0e36da23e5 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Fri, 21 Jul 2017 21:21:29 +0000 Subject: [PATCH] Widgets: Fix typo in phpunit test for Custom HTML widget in [41116]. Fixed was applied in 4.8 branch via [41117]. See #41392. git-svn-id: https://develop.svn.wordpress.org/trunk@41118 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/widgets/custom-html-widget.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/widgets/custom-html-widget.php b/tests/phpunit/tests/widgets/custom-html-widget.php index 916cc1fc46..dcd03d2007 100644 --- a/tests/phpunit/tests/widgets/custom-html-widget.php +++ b/tests/phpunit/tests/widgets/custom-html-widget.php @@ -71,7 +71,7 @@ class Test_WP_Widget_Custom_HTML extends WP_UnitTestCase { $this->assertNotEmpty( $this->widget_text_args ); $this->assertContains( '[filter:widget_text][filter:widget_custom_html_content]', $output ); $this->assertContains( '
', $output ); - $this->assertContains( 'class="widget_text widget widget_custom_html"', $output ); + $this->assertContains( '
', $output ); $this->assertNotContains( '

', $output ); $this->assertNotContains( '
', $output ); $this->assertNotContains( '', $output );