Skip to content

Commit 15a5c85

Browse files
Sarthak JaiswalSarthak Jaiswal
authored andcommitted
Removed test for test_auto_sizes_prime_attachment_caches
1 parent b15d7fe commit 15a5c85

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

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

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -714,18 +714,4 @@ public function get_group_block_markup( string $content, array $atts = array() )
714714
<div class="wp-block-group' . $align_class . '">' . $content . '</div>
715715
<!-- /wp:group -->';
716716
}
717-
718-
/**
719-
* Tests the auto_sizes_prime_attachment_caches function.
720-
*
721-
* @covers ::auto_sizes_prime_attachment_caches
722-
*/
723-
public function test_auto_sizes_prime_attachment_caches_with_empty_class(): void {
724-
$img_tag = '<img src="https://example.com/foo.png">';
725-
726-
$result = auto_sizes_prime_attachment_caches( $img_tag );
727-
728-
// Assert that the output is the same as the input since no processing should occur.
729-
$this->assertSame( $img_tag, $result );
730-
}
731717
}

0 commit comments

Comments
 (0)