Make WordPress Core


Ignore:
Timestamp:
06/24/2022 02:18:20 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Tests: Put @covers tags before @params in Ajax and Formatting groups.

This makes the placement more consistent with the rest of the test suite.

Follow-up to [53561], [53562].

See #39265.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/formatting/redirect.php

    r53562 r53571  
    2121     * @dataProvider get_bad_status_codes
    2222     *
     23     * @covers ::wp_redirect
     24     *
    2325     * @param string $location The path or URL to redirect to.
    2426     * @param int    $status   HTTP response status code to use.
    25      *
    26      * @covers ::wp_redirect
    2727     */
    2828    public function test_wp_redirect_bad_status_code( $location, $status ) {
Note: See TracChangeset for help on using the changeset viewer.