Changeset 48937 for trunk/tests/phpunit/tests/menu/nav-menu.php
- Timestamp:
- 09/02/2020 12:35:36 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/menu/nav-menu.php
r48848 r48937 45 45 'primary' => 1, 46 46 ); 47 $this->assert Equals( $expected_nav_menu_locations, $new_next_theme_nav_menu_locations );47 $this->assertSame( $expected_nav_menu_locations, $new_next_theme_nav_menu_locations ); 48 48 } 49 49 … … 67 67 'secondary' => 2, 68 68 ); 69 $this->assert Equals( $expected_nav_menu_locations, $new_next_theme_nav_menu_locations );69 $this->assertSame( $expected_nav_menu_locations, $new_next_theme_nav_menu_locations ); 70 70 } 71 71 … … 86 86 87 87 $expected_nav_menu_locations = $prev_theme_nav_menu_locations; 88 $this->assert Equals( $expected_nav_menu_locations, $new_next_theme_nav_menu_locations );88 $this->assertSame( $expected_nav_menu_locations, $new_next_theme_nav_menu_locations ); 89 89 } 90 90 … … 110 110 111 111 $expected_nav_menu_locations = wp_array_slice_assoc( $prev_theme_nav_menu_locations, array_keys( get_registered_nav_menus() ) ); 112 $this->assert Equals( $expected_nav_menu_locations, $new_next_theme_nav_menu_locations );112 $this->assertSame( $expected_nav_menu_locations, $new_next_theme_nav_menu_locations ); 113 113 } 114 114 … … 133 133 'secondary' => 2, 134 134 ); 135 $this->assert Equals( $expected_nav_menu_locations, $new_next_theme_nav_menu_locations );135 $this->assertSame( $expected_nav_menu_locations, $new_next_theme_nav_menu_locations ); 136 136 } 137 137 … … 177 177 'main' => 2, 178 178 ); 179 $this->assert Equals( $expected_nav_menu_locations, $new_next_theme_nav_menu_locations );179 $this->assertSame( $expected_nav_menu_locations, $new_next_theme_nav_menu_locations ); 180 180 } 181 181
Note: See TracChangeset
for help on using the changeset viewer.