test: add lat/lng to faked meta fixture in StationSearchTest

This commit is contained in:
Ovidiu U
2026-04-06 09:46:17 +01:00
parent 40c0815a2c
commit 4f695ca37c

View File

@@ -47,12 +47,16 @@ it('populates results and meta on successful search', function () {
'price_pence' => 14390, 'price_pence' => 14390,
'price' => 143.9, 'price' => 143.9,
'price_updated_at' => '2026-04-05T08:00:00.000Z', 'price_updated_at' => '2026-04-05T08:00:00.000Z',
'price_classification' => 'current',
'price_classification_label' => 'Current',
], ],
], ],
'meta' => [ 'meta' => [
'count' => 1, 'count' => 1,
'fuel_type' => 'e10', 'fuel_type' => 'e10',
'radius_km' => 8.05, 'radius_km' => 8.05,
'lat' => 51.5010,
'lng' => -0.1415,
'lowest_pence' => 14390, 'lowest_pence' => 14390,
'highest_pence' => 14390, 'highest_pence' => 14390,
'cheapest_price_pence' => 14390, 'cheapest_price_pence' => 14390,