Skip to content

Commit 4fc9ff5

Browse files
committed
Implement quick wins to fix Image Prioritizer code coverage
1 parent 69b7a14 commit 4fc9ff5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

plugins/image-prioritizer/hooks.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
if ( ! defined( 'ABSPATH' ) ) {
1111
exit; // Exit if accessed directly.
1212
}
13-
// @codeCoverageIgnoreEnd
1413

1514
add_action( 'od_init', 'image_prioritizer_init' );
15+
// @codeCoverageIgnoreEnd

plugins/image-prioritizer/tests/test-helper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ public function data_provider_test_filter_tag_visitors(): array {
8585
* @covers Image_Prioritizer_Tag_Visitor
8686
* @covers Image_Prioritizer_Img_Tag_Visitor
8787
* @covers Image_Prioritizer_Background_Image_Styled_Tag_Visitor
88+
* @covers Image_Prioritizer_Video_Tag_Visitor
8889
*
8990
* @dataProvider data_provider_test_filter_tag_visitors
9091
*

0 commit comments

Comments
 (0)