Changeset 48848 for trunk/tests/phpunit/tests/menu/nav-menu.php
- Timestamp:
- 08/23/2020 05:23:52 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/menu/nav-menu.php
r46586 r48848 32 32 * Two themes with one location each should just map, switching to a theme not previously-active. 33 33 * 34 * @covers ::wp_map_nav_menu_locations ()34 * @covers ::wp_map_nav_menu_locations 35 35 */ 36 36 function test_one_location_each() { … … 51 51 * Only registered locations should be mapped and returned. 52 52 * 53 * @covers ::wp_map_nav_menu_locations ()53 * @covers ::wp_map_nav_menu_locations 54 54 */ 55 55 function test_filter_registered_locations() { … … 73 73 * Locations with the same name should map, switching to a theme not previously-active. 74 74 * 75 * @covers ::wp_map_nav_menu_locations ()75 * @covers ::wp_map_nav_menu_locations 76 76 */ 77 77 function test_locations_with_same_slug() { … … 92 92 * If the new theme was previously active, we should honor any changes to nav menu mapping done when the other theme was active. 93 93 * 94 * @covers ::wp_map_nav_menu_locations ()94 * @covers ::wp_map_nav_menu_locations 95 95 */ 96 96 function test_new_theme_previously_active() { … … 116 116 * Make educated guesses on theme locations. 117 117 * 118 * @covers ::wp_map_nav_menu_locations ()118 * @covers ::wp_map_nav_menu_locations 119 119 */ 120 120 function test_location_guessing() { … … 139 139 * Make sure two locations that fall in the same group don't get the same menu assigned. 140 140 * 141 * @covers ::wp_map_nav_menu_locations ()141 * @covers ::wp_map_nav_menu_locations 142 142 */ 143 143 function test_location_guessing_one_menu_per_group() { … … 160 160 * Make sure two locations that fall in the same group get menus assigned from the same group. 161 161 * 162 * @covers ::wp_map_nav_menu_locations ()162 * @covers ::wp_map_nav_menu_locations 163 163 */ 164 164 function test_location_guessing_one_menu_per_location() { … … 185 185 * @expectedIncorrectUsage register_nav_menus 186 186 * 187 * @covers ::wp_map_nav_menu_locations ()187 * @covers ::wp_map_nav_menu_locations 188 188 */ 189 189 function test_numerical_locations() { … … 210 210 * @expectedIncorrectUsage register_nav_menus 211 211 * 212 * @covers wp_map_nav_menu_locations()212 * @covers ::wp_map_nav_menu_locations 213 213 */ 214 214 public function test_numerical_old_locations() {
Note: See TracChangeset
for help on using the changeset viewer.