Make WordPress Core


Ignore:
Timestamp:
02/01/2018 04:08:04 PM (9 years ago)
Author:
SergeyBiryukov
Message:

Tests: Correct erroneous @covers and @use tags.

Props jipmoors.
Fixes #43203.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/menu/nav-menu.php

    r42343 r42636  
    3232         * Two themes with one location each should just map, switching to a theme not previously-active.
    3333         *
    34          * @covers wp_map_nav_menu_locations()
     34         * @covers ::wp_map_nav_menu_locations()
    3535         */
    3636        function test_one_location_each() {
     
    5151         * Only registered locations should be mapped and returned.
    5252         *
    53          * @covers wp_map_nav_menu_locations()
     53         * @covers ::wp_map_nav_menu_locations()
    5454         */
    5555        function test_filter_registered_locations() {
     
    7272         * Locations with the same name should map, switching to a theme not previously-active.
    7373         *
    74          * @covers wp_map_nav_menu_locations()
     74         * @covers ::wp_map_nav_menu_locations()
    7575         */
    7676        function test_locations_with_same_slug() {
     
    9191         * If the new theme was previously active, we should honor any changes to nav menu mapping done when the other theme was active.
    9292         *
    93          * @covers wp_map_nav_menu_locations()
     93         * @covers ::wp_map_nav_menu_locations()
    9494         */
    9595        function test_new_theme_previously_active() {
     
    115115         * Make educated guesses on theme locations.
    116116         *
    117          * @covers wp_map_nav_menu_locations()
     117         * @covers ::wp_map_nav_menu_locations()
    118118         */
    119119        function test_location_guessing() {
     
    138138         * Make sure two locations that fall in the same group don't get the same menu assigned.
    139139         *
    140          * @covers wp_map_nav_menu_locations()
     140         * @covers ::wp_map_nav_menu_locations()
    141141         */
    142142        function test_location_guessing_one_menu_per_group() {
     
    159159         * Make sure two locations that fall in the same group get menus assigned from the same group.
    160160         *
    161          * @covers wp_map_nav_menu_locations()
     161         * @covers ::wp_map_nav_menu_locations()
    162162         */
    163163        function test_location_guessing_one_menu_per_location() {
     
    182182         * Technically possible to register menu locations numerically.
    183183         *
    184          * @covers wp_map_nav_menu_locations()
     184         * @covers ::wp_map_nav_menu_locations()
    185185         */
    186186        function test_numerical_locations() {
Note: See TracChangeset for help on using the changeset viewer.