From 98c9ab835e9e1e2195d336fa0ef913debb76edca Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 11 Jun 2021 12:34:09 +0000 Subject: [PATCH] Docs: Correct DocBlock formatting for some revision tests. Follow-up to [50949], [51124]. See #52628. git-svn-id: https://develop.svn.wordpress.org/trunk@51138 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/post/revisions.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/tests/phpunit/tests/post/revisions.php b/tests/phpunit/tests/post/revisions.php index 0487a32d22..678290ad6c 100644 --- a/tests/phpunit/tests/post/revisions.php +++ b/tests/phpunit/tests/post/revisions.php @@ -577,7 +577,7 @@ class Tests_Post_Revisions extends WP_UnitTestCase { $this->assertSame( $revision_ids, array_values( wp_list_pluck( $revisions, 'ID' ) ) ); } - /* + /** * @ticket 51550 */ public function test_wp_revisions_to_keep_filter() { @@ -602,7 +602,7 @@ class Tests_Post_Revisions extends WP_UnitTestCase { $this->assertSame( $expected, wp_revisions_to_keep( $post ) ); } - /* + /** * @ticket 51550 */ public function test_wp_post_type_revisions_to_keep_filter() { @@ -636,10 +636,8 @@ class Tests_Post_Revisions extends WP_UnitTestCase { $this->assertSame( $expected, wp_revisions_to_keep( $post ) ); } - - /* - * Verify that trying to create a revision with an invalid ID returns a WP_Error. - * + /** + * Verifies that trying to create a revision with an invalid ID returns a WP_Error. * * @ticket 30009 */