Changeset 41858
- Timestamp:
- 10/13/2017 07:42:40 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/widgets/custom-html-widget.php
r41855 r41858 292 292 set_current_screen( 'widgets.php' ); 293 293 WP_Widget_Custom_HTML::add_help_text(); 294 $ content = get_current_screen()->get_help_tab( 'custom_html_widget' )['content'];295 296 $this->assertContains( 'Use the Custom HTML widget to add arbitrary HTML code to your widget areas.', $ content);294 $help_tab = get_current_screen()->get_help_tab( 'custom_html_widget' ); 295 296 $this->assertContains( 'Use the Custom HTML widget to add arbitrary HTML code to your widget areas.', $help_tab['content'] ); 297 297 } 298 298 }
Note: See TracChangeset
for help on using the changeset viewer.