From b8dabaf24995a8933b736d4909878953b0cbe0b5 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 3 Nov 2021 00:54:47 +0000 Subject: [PATCH] Tests: Correct `@covers` tags in `WP_Comments_List_Table` tests. Follow-up to [51993], [51997]. See #39265. git-svn-id: https://develop.svn.wordpress.org/trunk@51998 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/admin/wpCommentsListTable.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/phpunit/tests/admin/wpCommentsListTable.php b/tests/phpunit/tests/admin/wpCommentsListTable.php index 917a49c107..b05c5fa5f1 100644 --- a/tests/phpunit/tests/admin/wpCommentsListTable.php +++ b/tests/phpunit/tests/admin/wpCommentsListTable.php @@ -18,7 +18,7 @@ class Tests_Admin_wpCommentsListTable extends WP_UnitTestCase { /** * @ticket 40188 * - * @covers WP_Posts_List_Table::extra_tablenav + * @covers WP_Comments_List_Table::extra_tablenav */ public function test_filter_button_should_not_be_shown_if_there_are_no_comments() { ob_start(); @@ -31,7 +31,7 @@ class Tests_Admin_wpCommentsListTable extends WP_UnitTestCase { /** * @ticket 40188 * - * @covers WP_Posts_List_Table::extra_tablenav + * @covers WP_Comments_List_Table::extra_tablenav */ public function test_filter_button_should_be_shown_if_there_are_comments() { $post_id = self::factory()->post->create(); @@ -54,7 +54,7 @@ class Tests_Admin_wpCommentsListTable extends WP_UnitTestCase { /** * @ticket 40188 * - * @covers WP_Posts_List_Table::extra_tablenav + * @covers WP_Comments_List_Table::extra_tablenav */ public function test_filter_comment_type_dropdown_should_be_shown_if_there_are_comments() { $post_id = self::factory()->post->create(); @@ -78,7 +78,7 @@ class Tests_Admin_wpCommentsListTable extends WP_UnitTestCase { /** * @ticket 38341 * - * @covers WP_Posts_List_Table::extra_tablenav + * @covers WP_Comments_List_Table::extra_tablenav */ public function test_empty_trash_button_should_not_be_shown_if_there_are_no_comments() { ob_start(); @@ -91,7 +91,7 @@ class Tests_Admin_wpCommentsListTable extends WP_UnitTestCase { /** * @ticket 19278 * - * @covers WP_Posts_List_Table::bulk_actions + * @covers WP_Comments_List_Table::bulk_actions */ public function test_bulk_action_menu_supports_options_and_optgroups() { add_filter( @@ -126,7 +126,7 @@ OPTIONS; /** * @ticket 45089 * - * @covers WP_Posts_List_Table::print_column_headers + * @covers WP_Comments_List_Table::print_column_headers */ public function test_sortable_columns() { $override_sortable_columns = array( @@ -160,7 +160,7 @@ OPTIONS; /** * @ticket 45089 * - * @covers WP_Posts_List_Table::print_column_headers + * @covers WP_Comments_List_Table::print_column_headers */ public function test_sortable_columns_with_current_ordering() { $override_sortable_columns = array(