Changeset 54402 for trunk/tests/phpunit/tests/widgets.php
- Timestamp:
- 10/07/2022 01:02:07 AM (4 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/widgets.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/widgets.php
r54112 r54402 1275 1275 1276 1276 $expected_sidebars = array( 1277 'wp_inactive_widgets' => array(), 1277 1278 'primary' => 1, 1278 'wp_inactive_widgets' => array(), 1279 ); 1280 $this->assertEquals( $expected_sidebars, $new_next_theme_sidebars ); 1279 ); 1280 $this->assertSameSetsWithIndex( $expected_sidebars, $new_next_theme_sidebars ); 1281 1281 } 1282 1282 … … 1296 1296 $new_next_theme_sidebars = wp_map_sidebars_widgets( $prev_theme_sidebars ); 1297 1297 1298 $this->assert Equals( $prev_theme_sidebars, $new_next_theme_sidebars );1298 $this->assertSameSetsWithIndex( $prev_theme_sidebars, $new_next_theme_sidebars ); 1299 1299 } 1300 1300 … … 1319 1319 'wp_inactive_widgets' => array(), 1320 1320 ); 1321 $this->assert Equals( $expected_sidebars, $new_next_theme_sidebars );1321 $this->assertSameSetsWithIndex( $expected_sidebars, $new_next_theme_sidebars ); 1322 1322 } 1323 1323 … … 1363 1363 'wp_inactive_widgets' => array(), 1364 1364 ); 1365 $this->assert Equals( $expected_sidebars, $new_next_theme_sidebars );1365 $this->assertSameSetsWithIndex( $expected_sidebars, $new_next_theme_sidebars ); 1366 1366 } 1367 1367 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)