Skip to content

Commit 29c24d7

Browse files
remove test set up register meta
1 parent 27bd29d commit 29c24d7

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

tests/phpunit/tests/rest-api/rest-comments-controller.php

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -173,23 +173,6 @@ public function set_up() {
173173
if ( is_multisite() ) {
174174
update_site_option( 'site_admins', array( 'superadmin' ) );
175175
}
176-
// Ensure note resolution meta is registered.
177-
register_meta(
178-
'comment',
179-
'_wp_note_status',
180-
array(
181-
'type' => 'string',
182-
'description' => __( 'Note resolution status' ),
183-
'single' => true,
184-
'show_in_rest' => array(
185-
'schema' => array(
186-
'type' => 'string',
187-
'enum' => array( 'resolved', 'reopen' ),
188-
),
189-
),
190-
)
191-
);
192-
193176
}
194177

195178
public function test_register_routes() {

0 commit comments

Comments
 (0)