Skip to content

Commit

Permalink
Add fonts and font-library group annotation.
Browse files Browse the repository at this point in the history
All of the test classes now have these groups:

 * @group fonts
 * @group font-library

These annotations allow for specific groups of tests to be run,
which is helping in local development.
  • Loading branch information
hellofromtonya committed Feb 1, 2024
1 parent 4fe255e commit d002d7b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
*
* @package WordPress
* @subpackage Font Library
*
* @group fonts
* @group font-library
*/
class Tests_Font_Family_Backwards_Compatibility extends WP_UnitTestCase {
private $post_ids_to_delete = array();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
*
* @package WordPress
* @subpackage Font Library
* *
*
* @group fonts
* @group font-library
*
* @covers WP_Font_Utils::get_font_face_slug
*/
class Tests_Fonts_WpFontUtils_GetFontFaceSlug extends WP_UnitTestCase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
* @since 6.5.0
*
* @group restapi
* @group fonts
* @group font-library
*
* @coversDefaultClass WP_REST_Font_Collections_Controller
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
* @since 6.5.0
*
* @group restapi
* @group fonts
* @group font-library
*
* @coversDefaultClass WP_REST_Font_Faces_Controller
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
* @since 6.5.0
*
* @group restapi
* @group fonts
* @group font-library
*
* @coversDefaultClass WP_REST_Font_Families_Controller
*/
Expand Down

0 comments on commit d002d7b

Please sign in to comment.