From 8d71b77a5989c291ca0bc5b8e22f2d35c12e5906 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Tue, 28 Jun 2022 18:17:56 -0700 Subject: [PATCH] PHPCS --- tests/test-automatically-paginate-posts.php | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/tests/test-automatically-paginate-posts.php b/tests/test-automatically-paginate-posts.php index 31b1b28..a31f49f 100755 --- a/tests/test-automatically-paginate-posts.php +++ b/tests/test-automatically-paginate-posts.php @@ -6,11 +6,23 @@ */ /** + * Class Test_Automatically_Paginate_Posts. + * * @coversDefaultClass Automatically_Paginate_Posts */ -class SampleTest extends WP_UnitTestCase { +class Test_Automatically_Paginate_Posts extends WP_UnitTestCase { + /** + * Plugin instance. + * + * @var Automatically_Paginate_Posts + */ protected $_instance; + /** + * Prepare tests. + * + * @return void + */ public function set_up() { parent::set_up(); @@ -18,7 +30,10 @@ class SampleTest extends WP_UnitTestCase { } /** + * Test magic getter. + * * @covers ::__get() + * @returns void */ public function test___get() { $this->assertEquals( @@ -36,7 +51,10 @@ class SampleTest extends WP_UnitTestCase { } /** + * Test modifications to plugin action links. + * * @covers ::filter_plugin_action_links() + * @returns void */ public function test_filter_plugin_action_links() { $this->assertEmpty( -- GitLab