|
@@ 291-300 (lines=10) @@
|
| 288 |
|
$this->assertFalse($this->container->get('ivory.google_map.distance_matrix')->isHttps()); |
| 289 |
|
} |
| 290 |
|
|
| 291 |
|
public function testDistanceMatrixFormat() |
| 292 |
|
{ |
| 293 |
|
$this->loadConfiguration($this->container, 'distance_matrix_format'); |
| 294 |
|
$this->container->compile(); |
| 295 |
|
|
| 296 |
|
$this->assertSame( |
| 297 |
|
DistanceMatrix::FORMAT_XML, |
| 298 |
|
$this->container->get('ivory.google_map.distance_matrix')->getFormat() |
| 299 |
|
); |
| 300 |
|
} |
| 301 |
|
|
| 302 |
|
public function testDistanceMatrixApiKey() |
| 303 |
|
{ |
|
@@ 460-469 (lines=10) @@
|
| 457 |
|
$this->assertFalse($this->container->get('ivory.google_map.geocoder')->isHttps()); |
| 458 |
|
} |
| 459 |
|
|
| 460 |
|
public function testGeocoderFormat() |
| 461 |
|
{ |
| 462 |
|
$this->loadConfiguration($this->container, 'geocoder_format'); |
| 463 |
|
$this->container->compile(); |
| 464 |
|
|
| 465 |
|
$this->assertSame( |
| 466 |
|
GeocoderProvider::FORMAT_XML, |
| 467 |
|
$this->container->get('ivory.google_map.geocoder')->getFormat() |
| 468 |
|
); |
| 469 |
|
} |
| 470 |
|
|
| 471 |
|
public function testGeocoderApiKey() |
| 472 |
|
{ |
|
@@ 550-556 (lines=7) @@
|
| 547 |
|
$this->container->get('ivory.google_map.time_zone'); |
| 548 |
|
} |
| 549 |
|
|
| 550 |
|
public function testTimeZoneFormat() |
| 551 |
|
{ |
| 552 |
|
$this->loadConfiguration($this->container, 'time_zone_format'); |
| 553 |
|
$this->container->compile(); |
| 554 |
|
|
| 555 |
|
$this->assertSame(TimeZone::FORMAT_XML, $this->container->get('ivory.google_map.time_zone')->getFormat()); |
| 556 |
|
} |
| 557 |
|
|
| 558 |
|
public function testTimeZoneApiKey() |
| 559 |
|
{ |