Skip to content

Commit

Permalink
test: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nina committed Jan 22, 2025
1 parent c347e0f commit 63fd4c8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe('GoogleMapsController', () => {
data-symfony--ux-google-map--map-center-value="{"lat":48.8566,"lng":2.3522}"
data-symfony--ux-google-map--map-zoom-value="7"
data-symfony--ux-google-map--map-fit-bounds-to-markers-value="false"
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"}"
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"}"
data-symfony--ux-google-map--map-markers-value="[]"
data-symfony--ux-google-map--map-polygons-value="[]"
data-symfony--ux-google-map--map-polylines-value="[]"
Expand Down
2 changes: 2 additions & 0 deletions src/Map/src/Bridge/Google/tests/GoogleOptionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public function testWithMinimalConfigurationAndWithoutControls(): void
mapId: 'abcdefgh12345678',
gestureHandling: GestureHandling::GREEDY,
backgroundColor: '#f00',
maxZoom: 10,
disableDoubleClickZoom: true,
zoomControl: false,
mapTypeControl: false,
Expand All @@ -65,6 +66,7 @@ public function testWithMinimalConfigurationAndWithoutControls(): void
'mapId' => 'abcdefgh12345678',
'gestureHandling' => GestureHandling::GREEDY->value,
'backgroundColor' => '#f00',
'maxZoom' => 10,
'disableDoubleClickZoom' => true,
], $options->toArray());

Expand Down
Loading

0 comments on commit 63fd4c8

Please sign in to comment.