Skip to content

Commit 6c185c1

Browse files
committed
fix geoip tests
1 parent 09decfd commit 6c185c1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/Geocoder/Tests/Provider/GeoipTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function testGetName()
2424

2525
/**
2626
* @expectedException \Geocoder\Exception\UnsupportedOperation
27-
* @expectedExceptionMessage The Geoip does not support Street addresses.
27+
* @expectedExceptionMessage The Geoip provider does not support street addresses, only IPv4 addresses.
2828
*/
2929
public function testGeocodeWithNull()
3030
{
@@ -34,7 +34,7 @@ public function testGeocodeWithNull()
3434

3535
/**
3636
* @expectedException \Geocoder\Exception\UnsupportedOperation
37-
* @expectedExceptionMessage The Geoip does not support Street addresses.
37+
* @expectedExceptionMessage The Geoip provider does not support street addresses, only IPv4 addresses.
3838
*/
3939
public function testGeocodeWithEmpty()
4040
{
@@ -44,7 +44,7 @@ public function testGeocodeWithEmpty()
4444

4545
/**
4646
* @expectedException \Geocoder\Exception\UnsupportedOperation
47-
* @expectedExceptionMessage The Geoip does not support Street addresses.
47+
* @expectedExceptionMessage The Geoip provider does not support street addresses, only IPv4 addresses.
4848
*/
4949
public function testGeocodeWithAddress()
5050
{
@@ -75,7 +75,7 @@ public function testGeocodeWithLocalhostIPv4()
7575

7676
/**
7777
* @expectedException \Geocoder\Exception\UnsupportedOperation
78-
* @expectedExceptionMessage The Geoip does not support IPv6 addresses.
78+
* @expectedExceptionMessage The Geoip provider does not support IPv6 addresses, only IPv4 addresses.
7979
*/
8080
public function testGeocodeWithLocalhostIPv6()
8181
{
@@ -107,7 +107,7 @@ public function testGeocodeWithRealIPv4()
107107

108108
/**
109109
* @expectedException \Geocoder\Exception\UnsupportedOperation
110-
* @expectedExceptionMessage The Geoip does not support IPv6 addresses.
110+
* @expectedExceptionMessage The Geoip provider does not support IPv6 addresses, only IPv4 addresses.
111111
*/
112112
public function testGeocodeWithRealIPv6()
113113
{
@@ -117,7 +117,7 @@ public function testGeocodeWithRealIPv6()
117117

118118
/**
119119
* @expectedException \Geocoder\Exception\UnsupportedOperation
120-
* @expectedExceptionMessage The Geoip is not able to do reverse geocoding.
120+
* @expectedExceptionMessage The Geoip provider is not able to do reverse geocoding.
121121
*/
122122
public function testReverse()
123123
{

0 commit comments

Comments
 (0)