Changeset 48939 for trunk/tests/phpunit/tests/customize/widgets.php
- Timestamp:
- 09/04/2020 07:01:00 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/customize/widgets.php
r48937 r48939 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->assert EqualSets( array( 'wp_inactive_widgets', 'sidebar-1', 'sidebar-2' ), array_keys( wp_get_sidebars_widgets() ) );35 $this->assertSameSets( array( 'wp_inactive_widgets', 'sidebar-1', 'sidebar-2' ), 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-2'] );
Note: See TracChangeset
for help on using the changeset viewer.