Skip to content

Commit fd8cbce

Browse files
committed
Abilities: Update registration test for deprecation metadata
1 parent 7410c91 commit fd8cbce

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ public function test_register_valid_ability(): void {
196196
'annotations' => $expected_annotations,
197197
'show_in_rest' => true,
198198
'public' => false,
199+
'deprecated' => false,
199200
)
200201
);
201202

0 commit comments

Comments
 (0)