Skip to content
Snippets Groups Projects
Commit 8d71b77a authored by Erick Hitter's avatar Erick Hitter
Browse files

PHPCS

parent fbc7d258
No related branches found
No related tags found
1 merge request!5Add block-editor support
Pipeline #4960 passed
This commit is part of merge request !5. Comments created here will be created in the context of that merge request.
...@@ -6,11 +6,23 @@ ...@@ -6,11 +6,23 @@
*/ */
/** /**
* Class Test_Automatically_Paginate_Posts.
*
* @coversDefaultClass 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; protected $_instance;
/**
* Prepare tests.
*
* @return void
*/
public function set_up() { public function set_up() {
parent::set_up(); parent::set_up();
...@@ -18,7 +30,10 @@ class SampleTest extends WP_UnitTestCase { ...@@ -18,7 +30,10 @@ class SampleTest extends WP_UnitTestCase {
} }
/** /**
* Test magic getter.
*
* @covers ::__get() * @covers ::__get()
* @returns void
*/ */
public function test___get() { public function test___get() {
$this->assertEquals( $this->assertEquals(
...@@ -36,7 +51,10 @@ class SampleTest extends WP_UnitTestCase { ...@@ -36,7 +51,10 @@ class SampleTest extends WP_UnitTestCase {
} }
/** /**
* Test modifications to plugin action links.
*
* @covers ::filter_plugin_action_links() * @covers ::filter_plugin_action_links()
* @returns void
*/ */
public function test_filter_plugin_action_links() { public function test_filter_plugin_action_links() {
$this->assertEmpty( $this->assertEmpty(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment