Changeset 43954 for branches/5.0/tests/phpunit/tests/customize/widgets.php
- Timestamp:
- 11/30/2018 08:24:42 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/tests/phpunit/tests/customize/widgets.php
r41935 r43954 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' , 'sidebar-2', 'sidebar-3'), array_keys( wp_get_sidebars_widgets() ) );35 $this->assertEqualSets( array( 'wp_inactive_widgets', 'sidebar-1' ), 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.