You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/Geocoder/Tests/Provider/TomTomTest.php
+19-19Lines changed: 19 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ public function testGeocodeWithNullApiKey()
26
26
27
27
/**
28
28
* @expectedException \Geocoder\Exception\NoResult
29
-
* @expectedExceptionMessage Could not execute query "https://api.tomtom.com/lbs/geocoding/geocode?key=api_key&query=&maxResults=5".
29
+
* @expectedExceptionMessage Could not execute query "https://api.tomtom.com/lbs/services/geocode/4/geocode?key=api_key&query=&maxResults=5".
30
30
*/
31
31
publicfunctiontestGeocodeWithNull()
32
32
{
@@ -36,7 +36,7 @@ public function testGeocodeWithNull()
36
36
37
37
/**
38
38
* @expectedException \Geocoder\Exception\NoResult
39
-
* @expectedExceptionMessage Could not execute query "https://api.tomtom.com/lbs/geocoding/geocode?key=api_key&query=&maxResults=5".
39
+
* @expectedExceptionMessage Could not execute query "https://api.tomtom.com/lbs/services/geocode/4/geocode?key=api_key&query=&maxResults=5".
40
40
*/
41
41
publicfunctiontestGeocodeWithEmpty()
42
42
{
@@ -46,7 +46,7 @@ public function testGeocodeWithEmpty()
46
46
47
47
/**
48
48
* @expectedException \Geocoder\Exception\NoResult
49
-
* @expectedExceptionMessage Could not execute query "https://api.tomtom.com/lbs/geocoding/geocode?key=api_key&query=Tagensvej%2047%2C%202200%20K%C3%B8benhavn%20N&maxResults=5".
49
+
* @expectedExceptionMessage Could not execute query "https://api.tomtom.com/lbs/services/geocode/4/geocode?key=api_key&query=Tagensvej%2047%2C%202200%20K%C3%B8benhavn%20N&maxResults=5".
@@ -56,7 +56,7 @@ public function testGeocodeWithAddressContentReturnNull()
56
56
57
57
/**
58
58
* @expectedException \Geocoder\Exception\NoResult
59
-
* @expectedExceptionMessage Could not execute query "https://api.tomtom.com/lbs/geocoding/geocode?key=api_key&query=Tagensvej%2047%2C%202200%20K%C3%B8benhavn%20N&maxResults=5".
59
+
* @expectedExceptionMessage Could not execute query "https://api.tomtom.com/lbs/services/geocode/4/geocode?key=api_key&query=Tagensvej%2047%2C%202200%20K%C3%B8benhavn%20N&maxResults=5".
60
60
*/
61
61
publicfunctiontestGeocodeWithAddress()
62
62
{
@@ -66,7 +66,7 @@ public function testGeocodeWithAddress()
66
66
67
67
/**
68
68
* @expectedException \Geocoder\Exception\NoResult
69
-
* @expectedExceptionMessage Could not execute query "https://api.tomtom.com/lbs/geocoding/geocode?key=api_key&query=foo&maxResults=5".
69
+
* @expectedExceptionMessage Could not execute query "https://api.tomtom.com/lbs/services/geocode/4/geocode?key=api_key&query=foo&maxResults=5".
70
70
*/
71
71
publicfunctiontestGeocodeNoResult()
72
72
{
@@ -80,11 +80,11 @@ public function testGeocodeNoResult()
80
80
81
81
publicfunctiontestGeocodeWithRealAddress()
82
82
{
83
-
if (!isset($_SERVER['TOMTOM_GEOCODING_KEY'])) {
84
-
$this->markTestSkipped('You need to configure the TOMTOM_GEOCODING_KEY value in phpunit.xml');
83
+
if (!isset($_SERVER['TOMTOM_MAP_KEY'])) {
84
+
$this->markTestSkipped('You need to configure the TOMTOM_MAP_KEY value in phpunit.xml');
0 commit comments