File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
tests/Geocoder/Tests/Provider Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ public function geocode($address)
5959 {
6060 // This API doesn't handle IPs
6161 if (filter_var ($ address , FILTER_VALIDATE_IP )) {
62- throw new UnsupportedOperation ('The Yandex does not support IP addresses. ' );
62+ throw new UnsupportedOperation ('The Yandex provider does not support IP addresses, only street addresses. ' );
6363 }
6464
6565 $ query = sprintf (self ::GEOCODE_ENDPOINT_URL , urlencode ($ address ));
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public function testGetName()
1818
1919 /**
2020 * @expectedException \Geocoder\Exception\UnsupportedOperation
21- * @expectedExceptionMessage The Yandex does not support IP addresses.
21+ * @expectedExceptionMessage The Yandex provider does not support IP addresses, only street addresses.
2222 */
2323 public function testGeocodeWithLocalhostIPv4 ()
2424 {
@@ -28,7 +28,7 @@ public function testGeocodeWithLocalhostIPv4()
2828
2929 /**
3030 * @expectedException \Geocoder\Exception\UnsupportedOperation
31- * @expectedExceptionMessage The Yandex does not support IP addresses.
31+ * @expectedExceptionMessage The Yandex provider does not support IP addresses, only street addresses.
3232 */
3333 public function testGeocodeWithLocalhostIPv6 ()
3434 {
You can’t perform that action at this time.
0 commit comments