Skip to content

Commit 2dd66bc

Browse files
docblock cleanup
1 parent 20addb9 commit 2dd66bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4241,8 +4241,8 @@ public function test_get_items_type_arg_unauthenticated( $comment_type, $count )
42414241
$request = new WP_REST_Request( 'GET', sprintf( '/wp/v2/comments/%d', $comment ) );
42424242
$response = rest_get_server()->dispatch( $request );
42434243

4244-
// Individual comments using the /comments/<id> endpoint can (unexpectedly) be
4245-
// retrieved by unauthenticated users - except for the 'note' type which is restricted.
4244+
// Individual comments using the /comments/<id> endpoint can be retrieved by
4245+
// unauthenticated users - except for the 'note' type which is restricted.
42464246
// See https://core.trac.wordpress.org/ticket/44157.
42474247
$this->assertSame( 'note' === $comment_type ? 401 : 200, $response->get_status(), 'Individual comment endpoint did not return the expected status' );
42484248
}

0 commit comments

Comments
 (0)