Skip to content

Commit

Permalink
Update PHPDoc @Covers tag in theme tests
Browse files Browse the repository at this point in the history
Replaced @coversDefaultClass with @Covers for better specificity in theme invalidateHeaderImagesCache test. This adjustment enhances the precision of test coverage annotation and maintains the accuracy of test documentation. No actual code or functionality was altered.
  • Loading branch information
Paul Bearne committed Oct 24, 2024
1 parent 7eb8a63 commit f66d073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phpunit/tests/theme/invalidateHeaderImagesCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @group themes
*
* @coversDefaultClass ::invalidate_header_images_cache
* @covers ::invalidate_header_images_cache
*/
class Tests_Theme_invalidateHeaderImagesCache extends WP_UnitTestCase {
public $custom_image_header;
Expand Down

0 comments on commit f66d073

Please sign in to comment.