Skip to content

Commit 0573247

Browse files
Add cover annotation
1 parent 6fb2cf2 commit 0573247

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

plugins/auto-sizes/tests/test-improve-calculate-sizes.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1274,6 +1274,8 @@ public static function data_image_block_with_parent_columns_and_its_parent_group
12741274

12751275
/**
12761276
* Test that the image block in a two-column layout renders the correct sizes attribute.
1277+
*
1278+
* @cover ::auto_sizes_filter_image_tag
12771279
*/
12781280
public function test_image_block_in_two_column_layout_renders_correct_sizes_attribute(): void {
12791281
// Skip test for WordPress versions below 6.8.
@@ -1299,6 +1301,8 @@ public function test_image_block_in_two_column_layout_renders_correct_sizes_attr
12991301

13001302
/**
13011303
* Test that the image block in a three-column layout renders the correct sizes attribute.
1304+
*
1305+
* @cover ::auto_sizes_filter_image_tag
13021306
*/
13031307
public function test_image_block_in_three_column_layout_renders_correct_sizes_attribute(): void {
13041308
// Skip test for WordPress versions below 6.8.

0 commit comments

Comments
 (0)