- Timestamp:
- 07/21/2017 09:01:45 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/widgets/custom-html-widget.php
r41115 r41116 52 52 'before_title' => '<h2>', 53 53 'after_title' => "</h2>\n", 54 'before_widget' => '<section >',54 'before_widget' => '<section id="custom_html-5" class="widget widget_custom_html">', 55 55 'after_widget' => "</section>\n", 56 56 ); … … 71 71 $this->assertNotEmpty( $this->widget_text_args ); 72 72 $this->assertContains( '[filter:widget_text][filter:widget_custom_html_content]', $output ); 73 $this->assertContains( '<div class="textwidget custom-html-widget">', $output ); 73 $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 75 $this->assertNotContains( '<p>', $output ); 75 76 $this->assertNotContains( '<br>', $output );
Note: See TracChangeset
for help on using the changeset viewer.