Skip to content

Commit

Permalink
Fix json message for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuLamiot committed Jun 5, 2024
1 parent 781bd6b commit 64ea5d2
Showing 1 changed file with 5 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,15 +352,15 @@
'lcp' => json_encode(
(object) [
'type' => 'bg-img',
'src' => 'http://example.org/lcp.jpg',
'bg_set' => [
[
'src' => 'http://example.org/anotherlcp.jpg'
'src' => 'http://example.org/anotherlcp.jpg'
],
[
'src' => 'http://example.org/anotherlcp2.jpg'
],
]
],
'src' => ''
],
),
'viewport' => json_encode( [
Expand Down Expand Up @@ -446,22 +446,15 @@
'lcp' => json_encode(
(object) [
'type' => 'bg-img-set',
'src' => [
[
'src' => 'http://example.org/lcp.jpg'
],
[
'src' => 'http://example.org/random.jpg'
]
],
'bg_set' => [
[
'src' => 'http://example.org/anotherlcp.jpg'
],
[
'src' => 'http://example.org/anotherlcp2.jpg'
],
]
],
'src' => ''
],
),
'viewport' => json_encode( [
Expand Down

0 comments on commit 64ea5d2

Please sign in to comment.