We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff7ce11 commit 76b623fCopy full SHA for 76b623f
1 file changed
tests/phpunit/tests/rest-api/rest-comments-controller.php
@@ -4220,7 +4220,7 @@ public function test_note_author_can_update_own_note() {
4220
4221
wp_set_current_user( self::$contributor_id );
4222
4223
- $request = new WP_REST_Request( 'PUT', '/wp/v2/comments/' . $note->comment_ID);
+ $request = new WP_REST_Request( 'PUT', '/wp/v2/comments/' . $note->comment_ID );
4224
$request->set_param( 'content', 'Updated content' );
4225
$response = rest_get_server()->dispatch( $request );
4226
0 commit comments