Changeset 41327 for trunk/tests/phpunit/tests/widgets.php
- Timestamp:
- 09/01/2017 08:49:50 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/widgets.php
r41266 r41327 680 680 681 681 /** 682 * Tests that no 'Undefined index' exception is thrown when trying to 683 * display an unregistered widget. 684 * 685 * @see \the_widget() 686 */ 687 function test_the_widget_with_unregistered_widget() { 688 $this->setExpectedIncorrectUsage( 'the_widget' ); 689 the_widget( 'Widget_Class' ); 690 } 691 692 /** 682 693 * Register nav menu sidebars. 683 694 *
Note: See TracChangeset
for help on using the changeset viewer.