Changeset 38919 for trunk/tests/phpunit/tests/customize/widgets.php
- Timestamp:
- 10/25/2016 07:59:31 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/customize/widgets.php
r38858 r38919 33 33 unset( $GLOBALS['_wp_sidebars_widgets'] ); // clear out cache set by wp_get_sidebars_widgets() 34 34 $sidebars_widgets = wp_get_sidebars_widgets(); 35 $this->assertEqualSets( array( 'wp_inactive_widgets', 'sidebar-1' ), array_keys( wp_get_sidebars_widgets() ) );35 $this->assertEqualSets( array( 'wp_inactive_widgets', 'sidebar-1', 'sidebar-2', 'sidebar-3' ), array_keys( wp_get_sidebars_widgets() ) ); 36 36 $this->assertContains( 'search-2', $sidebars_widgets['sidebar-1'] ); 37 37 $this->assertContains( 'categories-2', $sidebars_widgets['sidebar-1'] );
Note: See TracChangeset
for help on using the changeset viewer.