Skip to content

Commit 9a1ded0

Browse files
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. git-svn-id: https://develop.svn.wordpress.org/trunk@61407 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 685acba commit 9a1ded0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/phpunit/tests/admin/includesUser.php renamed to tests/phpunit/tests/admin/Admin_Includes_User_WpIsAuthorizeApplicationPasswordRequestValid_Test.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
/**
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 {
9+
class Admin_Includes_User_WpIsAuthorizeApplicationPasswordRequestValid_Test extends WP_UnitTestCase {
810

911
/**
1012
* Test redirect URLs for application password authorization requests.
1113
*
1214
* @ticket 42790
1315
* @ticket 52617
1416
*
15-
* @covers ::wp_is_authorize_application_password_request_valid
16-
*
1717
* @dataProvider data_is_authorize_application_password_request_valid
1818
*
1919
* @param array $request The request data to validate.

0 commit comments

Comments
 (0)