Skip to content

Commit

Permalink
Add PHP docs comments to unit test suites
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnajdr committed Mar 28, 2022
1 parent e8c1a9c commit f2edbd5
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions phpunit/class-wp-rest-block-pattern-categories-controller-test.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
<?php
/**
* Unit tests covering WP_REST_Block_Pattern_Categories_Controller functionality.
*
* @package WordPress
* @subpackage REST_API
*/

/**
* Unit tests for REST API for Block Pattern Categories.
*
* @group restapi
* @covers WP_REST_Block_Pattern_Categories_Controller
*/
class WP_REST_Block_Pattern_Categories_Controller_Test extends WP_Test_REST_Controller_Testcase {
protected static $admin_id;
protected static $orig_registry;
Expand Down
12 changes: 12 additions & 0 deletions phpunit/class-wp-rest-block-patterns-controller-test.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
<?php
/**
* Unit tests covering WP_REST_Block_Patterns_Controller functionality.
*
* @package WordPress
* @subpackage REST_API
*/

/**
* Unit tests for REST API for Block Patterns.
*
* @group restapi
* @covers WP_REST_Block_Patterns_Controller
*/
class WP_REST_Block_Patterns_Controller_Test extends WP_Test_REST_Controller_Testcase {
protected static $admin_id;
protected static $orig_registry;
Expand Down

0 comments on commit f2edbd5

Please sign in to comment.