Make WordPress Core

Changeset 41118


Ignore:
Timestamp:
07/21/2017 09:21:29 PM (7 years ago)
Author:
westonruter
Message:

Widgets: Fix typo in phpunit test for Custom HTML widget in [41116].

Fixed was applied in 4.8 branch via [41117].
See #41392.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/widgets/custom-html-widget.php

    r41116 r41118  
    7272        $this->assertContains( '[filter:widget_text][filter:widget_custom_html_content]', $output );
    7373        $this->assertContains( '<section id="custom_html-5" class="widget_text widget widget_custom_html">', $output );
    74         $this->assertContains( 'class="widget_text widget widget_custom_html"', $output );
     74        $this->assertContains( '<div class="textwidget custom-html-widget">', $output );
    7575        $this->assertNotContains( '<p>', $output );
    7676        $this->assertNotContains( '<br>', $output );
Note: See TracChangeset for help on using the changeset viewer.