Skip to content

Commit e75471e

Browse files
update ticket number
1 parent d33cc71 commit e75471e

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

tests/phpunit/tests/rest-api/wpRestAbilitiesSettingsController.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public function tear_down(): void {
102102
/**
103103
* Tests that unauthenticated users cannot access the get-settings ability.
104104
*
105-
* @ticket 62635
105+
* @ticket 64605
106106
*/
107107
public function test_core_get_settings_requires_authentication(): void {
108108
wp_set_current_user( 0 );
@@ -116,7 +116,7 @@ public function test_core_get_settings_requires_authentication(): void {
116116
/**
117117
* Tests that subscribers cannot access the get-settings ability.
118118
*
119-
* @ticket 62635
119+
* @ticket 64605
120120
*/
121121
public function test_core_get_settings_requires_manage_options_capability(): void {
122122
wp_set_current_user( self::$subscriber_id );
@@ -130,7 +130,7 @@ public function test_core_get_settings_requires_manage_options_capability(): voi
130130
/**
131131
* Tests that administrators can access the get-settings ability.
132132
*
133-
* @ticket 62635
133+
* @ticket 64605
134134
*/
135135
public function test_core_get_settings_allows_administrators(): void {
136136
$request = new WP_REST_Request( 'GET', '/wp-abilities/v1/abilities/core/get-settings/run' );
@@ -142,7 +142,7 @@ public function test_core_get_settings_allows_administrators(): void {
142142
/**
143143
* Tests that the get-settings ability returns settings grouped by registration group.
144144
*
145-
* @ticket 62635
145+
* @ticket 64605
146146
*/
147147
public function test_core_get_settings_returns_grouped_settings(): void {
148148
$request = new WP_REST_Request( 'GET', '/wp-abilities/v1/abilities/core/get-settings/run' );
@@ -161,7 +161,7 @@ public function test_core_get_settings_returns_grouped_settings(): void {
161161
/**
162162
* Tests that the get-settings ability can filter by group.
163163
*
164-
* @ticket 62635
164+
* @ticket 64605
165165
*/
166166
public function test_core_get_settings_filters_by_group(): void {
167167
$request = new WP_REST_Request( 'GET', '/wp-abilities/v1/abilities/core/get-settings/run' );
@@ -186,7 +186,7 @@ public function test_core_get_settings_filters_by_group(): void {
186186
/**
187187
* Tests that the get-settings ability can filter by specific slugs.
188188
*
189-
* @ticket 62635
189+
* @ticket 64605
190190
*/
191191
public function test_core_get_settings_filters_by_slugs(): void {
192192
$request = new WP_REST_Request( 'GET', '/wp-abilities/v1/abilities/core/get-settings/run' );
@@ -213,7 +213,7 @@ public function test_core_get_settings_filters_by_slugs(): void {
213213
/**
214214
* Tests that settings without show_in_abilities are excluded.
215215
*
216-
* @ticket 62635
216+
* @ticket 64605
217217
*/
218218
public function test_core_get_settings_excludes_settings_without_show_in_abilities(): void {
219219
register_setting(
@@ -243,7 +243,7 @@ public function test_core_get_settings_excludes_settings_without_show_in_abiliti
243243
/**
244244
* Tests that core settings with show_in_abilities are included.
245245
*
246-
* @ticket 62635
246+
* @ticket 64605
247247
*/
248248
public function test_core_get_settings_includes_settings_with_show_in_abilities(): void {
249249
$request = new WP_REST_Request( 'GET', '/wp-abilities/v1/abilities/core/get-settings/run' );
@@ -265,7 +265,7 @@ public function test_core_get_settings_includes_settings_with_show_in_abilities(
265265
/**
266266
* Tests that boolean settings are cast to actual booleans.
267267
*
268-
* @ticket 62635
268+
* @ticket 64605
269269
*/
270270
public function test_core_get_settings_casts_boolean_values(): void {
271271
$request = new WP_REST_Request( 'GET', '/wp-abilities/v1/abilities/core/get-settings/run' );
@@ -290,7 +290,7 @@ public function test_core_get_settings_casts_boolean_values(): void {
290290
/**
291291
* Tests that integer settings are cast to actual integers.
292292
*
293-
* @ticket 62635
293+
* @ticket 64605
294294
*/
295295
public function test_core_get_settings_casts_integer_values(): void {
296296
$request = new WP_REST_Request( 'GET', '/wp-abilities/v1/abilities/core/get-settings/run' );
@@ -315,7 +315,7 @@ public function test_core_get_settings_casts_integer_values(): void {
315315
/**
316316
* Tests that the get-settings ability requires GET method (read-only).
317317
*
318-
* @ticket 62635
318+
* @ticket 64605
319319
*/
320320
public function test_core_get_settings_requires_get_method(): void {
321321
$request = new WP_REST_Request( 'POST', '/wp-abilities/v1/abilities/core/get-settings/run' );
@@ -332,7 +332,7 @@ public function test_core_get_settings_requires_get_method(): void {
332332
/**
333333
* Tests that the get-settings ability returns correct values.
334334
*
335-
* @ticket 62635
335+
* @ticket 64605
336336
*/
337337
public function test_core_get_settings_returns_correct_values(): void {
338338
update_option( 'blogname', 'Test Site Name' );

0 commit comments

Comments
 (0)