Skip to content

Commit b389659

Browse files
add ticket mark to new tests
1 parent 0335699 commit b389659

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/phpunit/tests/abilities-api/wpCoreAbilities.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public static function set_up_before_class(): void {
3333

3434
/**
3535
* Tests that the `core/get-site-info` ability is registered with the expected schema.
36+
* @ticket 64146
3637
*/
3738
public function test_core_get_bloginfo_ability_is_registered(): void {
3839
$ability = wp_get_ability( 'core/get-site-info' );
@@ -60,6 +61,7 @@ public function test_core_get_bloginfo_ability_is_registered(): void {
6061

6162
/**
6263
* Tests executing the `core/get-site-info` ability returns all fields by default.
64+
* @ticket 64146
6365
*/
6466
public function test_core_get_bloginfo_executes(): void {
6567
// Requires manage_options.
@@ -98,6 +100,7 @@ public function test_core_get_bloginfo_executes(): void {
98100

99101
/**
100102
* Tests that executing the current user info ability requires authentication.
103+
* @ticket 64146
101104
*/
102105
public function test_core_get_current_user_info_requires_authentication(): void {
103106
$ability = wp_get_ability( 'core/get-user-info' );
@@ -111,6 +114,7 @@ public function test_core_get_current_user_info_requires_authentication(): void
111114

112115
/**
113116
* Tests executing the current user info ability as an authenticated user.
117+
* @ticket 64146
114118
*/
115119
public function test_core_get_current_user_info_returns_user_data(): void {
116120
$user_id = self::factory()->user->create(
@@ -137,6 +141,7 @@ public function test_core_get_current_user_info_returns_user_data(): void {
137141

138142
/**
139143
* Tests executing the environment info ability.
144+
* @ticket 64146
140145
*/
141146
public function test_core_get_environment_type_executes(): void {
142147
// Requires manage_options.

0 commit comments

Comments
 (0)