Skip to content

Commit 947af9f

Browse files
Docs: Correct formatting for some DocBlocks in Comment Template block tests.
Follow-up to [53172], [53298], [53336], [56262]. Props mukesh27. See #63166. git-svn-id: https://develop.svn.wordpress.org/trunk@60889 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 68b6ddc commit 947af9f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

tests/phpunit/tests/blocks/renderCommentTemplate.php

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ public function set_up() {
7979

8080
/**
8181
* @ticket 55505
82+
*
8283
* @covers ::build_comment_query_vars_from_block
8384
*/
8485
public function test_build_comment_query_vars_from_block_with_context() {
@@ -110,6 +111,7 @@ public function test_build_comment_query_vars_from_block_with_context() {
110111

111112
/**
112113
* @ticket 55567
114+
*
113115
* @covers ::build_comment_query_vars_from_block
114116
*/
115117
public function test_build_comment_query_vars_from_block_with_context_no_pagination() {
@@ -140,6 +142,7 @@ public function test_build_comment_query_vars_from_block_with_context_no_paginat
140142

141143
/**
142144
* @ticket 55505
145+
*
143146
* @covers ::build_comment_query_vars_from_block
144147
*/
145148
public function test_build_comment_query_vars_from_block_no_context() {
@@ -170,6 +173,7 @@ public function test_build_comment_query_vars_from_block_no_context() {
170173
* Regression: https://github.com/WordPress/gutenberg/issues/40758.
171174
*
172175
* @ticket 55658
176+
*
173177
* @covers ::build_comment_query_vars_from_block
174178
*/
175179
public function test_build_comment_query_vars_from_block_pagination_with_no_comments() {
@@ -222,6 +226,7 @@ public function test_build_comment_query_vars_from_block_pagination_with_no_comm
222226
*
223227
* @ticket 55505
224228
* @ticket 60806
229+
*
225230
* @covers ::build_comment_query_vars_from_block
226231
*/
227232
public function test_build_comment_query_vars_from_block_sets_max_num_pages() {
@@ -421,6 +426,7 @@ public function test_render_block_core_comment_content_converts_to_html() {
421426
* Test that unapproved comments are included if it is a preview.
422427
*
423428
* @ticket 55634
429+
*
424430
* @covers ::build_comment_query_vars_from_block
425431
*/
426432
public function test_build_comment_query_vars_from_block_with_comment_preview() {
@@ -537,9 +543,9 @@ public function test_rendering_comment_template_sets_comment_id_context() {
537543
'render_block',
538544
static function ( $block_content, $block ) use ( $parsed_comment_author_name_block ) {
539545
/*
540-
* Insert a Comment Author Name block (which requires `commentId`
541-
* block context to work) after the Comment Content block.
542-
*/
546+
* Insert a Comment Author Name block (which requires `commentId`
547+
* block context to work) after the Comment Content block.
548+
*/
543549
if ( 'core/comment-content' !== $block['blockName'] ) {
544550
return $block_content;
545551
}

0 commit comments

Comments
 (0)