Make WordPress Core

Changeset 61407


Ignore:
Timestamp:
12/24/2025 11:51:16 PM (14 hours ago)
Author:
SergeyBiryukov
Message:

Tests: Rename the admin/includesUser.php test file to be more descriptive.

  • Include the path, file name, and function name to better indicate the tested function.
  • Move @covers annotation to the test class level.

Follow-up to [49109].

Props poena.
See #53010.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/admin/Admin_Includes_User_WpIsAuthorizeApplicationPasswordRequestValid_Test.php

    r61406 r61407  
    44 * @group admin
    55 * @group user
     6 *
     7 * @covers ::wp_is_authorize_application_password_request_valid
    68 */
    7 class Tests_Admin_IncludesUser extends WP_UnitTestCase {
     9class Admin_Includes_User_WpIsAuthorizeApplicationPasswordRequestValid_Test extends WP_UnitTestCase {
    810
    911    /**
     
    1214     * @ticket 42790
    1315     * @ticket 52617
    14      *
    15      * @covers ::wp_is_authorize_application_password_request_valid
    1616     *
    1717     * @dataProvider data_is_authorize_application_password_request_valid
Note: See TracChangeset for help on using the changeset viewer.