diff --git a/tests/phpunit/tests/blocks/registerBlockTypeFromMetadataWithRegistry.php b/tests/phpunit/tests/blocks/registerBlockTypeFromMetadataWithRegistry.php index 4cadfa91a33bd..b77c16660b0d9 100644 --- a/tests/phpunit/tests/blocks/registerBlockTypeFromMetadataWithRegistry.php +++ b/tests/phpunit/tests/blocks/registerBlockTypeFromMetadataWithRegistry.php @@ -3,6 +3,8 @@ * Tests for WP_Block_Metadata_Registry integration with register_block_type_from_metadata(). * * @group blocks + * + * @covers ::register_block_type_from_metadata */ class Tests_Blocks_RegisterBlockTypeFromMetadataWithRegistry extends WP_UnitTestCase { private $temp_manifest_file; diff --git a/tests/phpunit/tests/blocks/render.php b/tests/phpunit/tests/blocks/render.php index 7b20dac147601..e9ed6a5f492e4 100644 --- a/tests/phpunit/tests/blocks/render.php +++ b/tests/phpunit/tests/blocks/render.php @@ -7,6 +7,8 @@ * @since 5.0.0 * * @group blocks + * + * @covers ::do_blocks */ class Tests_Blocks_Render extends WP_UnitTestCase { /** diff --git a/tests/phpunit/tests/blocks/renderReusable.php b/tests/phpunit/tests/blocks/renderReusable.php index f38ae41a41173..0fc56bf87cf66 100644 --- a/tests/phpunit/tests/blocks/renderReusable.php +++ b/tests/phpunit/tests/blocks/renderReusable.php @@ -7,6 +7,8 @@ * @since 5.0.0 * * @group blocks + * + * @covers WP_Block */ class Tests_Blocks_RenderReusable extends WP_UnitTestCase { /** diff --git a/tests/phpunit/tests/blocks/wpBlockList.php b/tests/phpunit/tests/blocks/wpBlockList.php index 48b040e918f82..00f43c9ba248e 100644 --- a/tests/phpunit/tests/blocks/wpBlockList.php +++ b/tests/phpunit/tests/blocks/wpBlockList.php @@ -7,6 +7,8 @@ * @since 5.5.0 * * @group blocks + * + * @covers WP_Block_List */ class Tests_Blocks_wpBlockList extends WP_UnitTestCase { diff --git a/tests/phpunit/tests/blocks/wpBlockParser.php b/tests/phpunit/tests/blocks/wpBlockParser.php index d88849d956dd6..813c6a5dc1639 100644 --- a/tests/phpunit/tests/blocks/wpBlockParser.php +++ b/tests/phpunit/tests/blocks/wpBlockParser.php @@ -7,6 +7,8 @@ * @since 5.0.0 * * @group blocks + * + * @covers WP_Block_Parser */ class Tests_Blocks_wpBlockParser extends WP_UnitTestCase { /** diff --git a/tests/phpunit/tests/oembed/WpEmbed.php b/tests/phpunit/tests/oembed/WpEmbed.php index c7b0649867d97..59a1b37dd9e81 100644 --- a/tests/phpunit/tests/oembed/WpEmbed.php +++ b/tests/phpunit/tests/oembed/WpEmbed.php @@ -2,6 +2,8 @@ /** * @group oembed + * + * @covers WP_Embed */ class Tests_WP_Embed extends WP_UnitTestCase { /** diff --git a/tests/phpunit/tests/oembed/postEmbedUrl.php b/tests/phpunit/tests/oembed/postEmbedUrl.php index ed674b8429c38..225bf05e16839 100644 --- a/tests/phpunit/tests/oembed/postEmbedUrl.php +++ b/tests/phpunit/tests/oembed/postEmbedUrl.php @@ -2,6 +2,8 @@ /** * @group oembed + * + * @covers ::get_post_embed_url */ class Tests_Post_Embed_URL extends WP_UnitTestCase { public function test_non_existent_post() { diff --git a/tests/phpunit/tests/oembed/wpOembed.php b/tests/phpunit/tests/oembed/wpOembed.php index 76d733dbce2e0..43324870350e6 100644 --- a/tests/phpunit/tests/oembed/wpOembed.php +++ b/tests/phpunit/tests/oembed/wpOembed.php @@ -2,6 +2,8 @@ /** * @group oembed + * + * @covers WP_oEmbed */ class Tests_WP_oEmbed extends WP_UnitTestCase { /** diff --git a/tests/phpunit/tests/rewrite/numericSlugs.php b/tests/phpunit/tests/rewrite/numericSlugs.php index c174ce4875c4d..25a51f86bdcc9 100644 --- a/tests/phpunit/tests/rewrite/numericSlugs.php +++ b/tests/phpunit/tests/rewrite/numericSlugs.php @@ -3,6 +3,8 @@ /** * @group rewrite * @ticket 5305 + * + * @covers ::url_to_postid */ class Tests_Rewrite_NumericSlugs extends WP_UnitTestCase { private $old_current_user; diff --git a/tests/phpunit/tests/rewrite/permastructs.php b/tests/phpunit/tests/rewrite/permastructs.php index 4e2bc0594b216..ce98e06a68bb3 100644 --- a/tests/phpunit/tests/rewrite/permastructs.php +++ b/tests/phpunit/tests/rewrite/permastructs.php @@ -2,6 +2,9 @@ /** * @group rewrite + * + * @covers ::add_permastruct + * @covers ::remove_permastruct */ class Tests_Rewrite_Permastructs extends WP_UnitTestCase {