Skip to content

Commit 63fd4c8

Browse files
author
Nina
committed
test: fix
1 parent c347e0f commit 63fd4c8

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

src/Map/src/Bridge/Google/assets/test/map_controller.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ describe('GoogleMapsController', () => {
4343
data-symfony--ux-google-map--map-center-value="{"lat":48.8566,"lng":2.3522}"
4444
data-symfony--ux-google-map--map-zoom-value="7"
4545
data-symfony--ux-google-map--map-fit-bounds-to-markers-value="false"
46-
data-symfony--ux-google-map--map-options-value="{"mapId":null,"gestureHandling":"auto","backgroundColor":null,"disableDoubleClickZoom":false,"zoomControlOptions":{"position":22},"mapTypeControlOptions":{"mapTypeIds":[],"position":14,"style":0},"streetViewControlOptions":{"position":22},"fullscreenControlOptions":{"position":20},"@provider":"google"}"
46+
data-symfony--ux-google-map--map-options-value="{"mapId":null,"gestureHandling":"auto","backgroundColor":null,"maxZoom":null,"disableDoubleClickZoom":false,"zoomControlOptions":{"position":22},"mapTypeControlOptions":{"mapTypeIds":[],"position":14,"style":0},"streetViewControlOptions":{"position":22},"fullscreenControlOptions":{"position":20},"@provider":"google"}"
4747
data-symfony--ux-google-map--map-markers-value="[]"
4848
data-symfony--ux-google-map--map-polygons-value="[]"
4949
data-symfony--ux-google-map--map-polylines-value="[]"

src/Map/src/Bridge/Google/tests/GoogleOptionsTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ public function testWithMinimalConfigurationAndWithoutControls(): void
5454
mapId: 'abcdefgh12345678',
5555
gestureHandling: GestureHandling::GREEDY,
5656
backgroundColor: '#f00',
57+
maxZoom: 10,
5758
disableDoubleClickZoom: true,
5859
zoomControl: false,
5960
mapTypeControl: false,
@@ -65,6 +66,7 @@ public function testWithMinimalConfigurationAndWithoutControls(): void
6566
'mapId' => 'abcdefgh12345678',
6667
'gestureHandling' => GestureHandling::GREEDY->value,
6768
'backgroundColor' => '#f00',
69+
'maxZoom' => 10,
6870
'disableDoubleClickZoom' => true,
6971
], $options->toArray());
7072

0 commit comments

Comments
 (0)