Skip to content

Commit e466d58

Browse files
committed
Remove unused variable in test case
1 parent c9eb29f commit e466d58

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

plugins/image-prioritizer/tests/test-cases/images-located-above-or-along-initial-viewport.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@
33
'set_up' => static function ( Test_Image_Prioritizer_Helper $test_case ): void {
44
$slug = od_get_url_metrics_slug( od_get_normalized_query_vars() );
55
$sample_size = od_get_url_metrics_breakpoint_sample_size();
6-
$outside_viewport_rect = array_merge(
7-
$test_case->get_sample_dom_rect(),
8-
array(
9-
'top' => 100000,
10-
)
11-
);
126

137
$get_dom_rect = static function ( $left, $top, $width, $height ) {
148
$dom_rect = array(

0 commit comments

Comments
 (0)