File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed
tests/Geocoder/Tests/HttpAdapter Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ class GeoIP2Adapter implements HttpAdapterInterface
24
24
*/
25
25
const GEOIP2_MODEL_CITY = 'city ' ;
26
26
const GEOIP2_MODEL_COUNTRY = 'country ' ;
27
- const GEOIP2_MODEL_OMNI = 'omni ' ;
28
27
29
28
/**
30
29
* @var ProviderInterface
@@ -129,7 +128,6 @@ protected function isSupportedGeoIP2Model($method)
129
128
$ availableMethods = array (
130
129
self ::GEOIP2_MODEL_CITY ,
131
130
self ::GEOIP2_MODEL_COUNTRY ,
132
- self ::GEOIP2_MODEL_OMNI
133
131
);
134
132
135
133
return in_array ($ method , $ availableMethods );
Original file line number Diff line number Diff line change @@ -72,7 +72,6 @@ public static function provideDataForSwitchingRequestMethods()
72
72
return array (
73
73
array (GeoIP2Adapter::GEOIP2_MODEL_CITY ),
74
74
array (GeoIP2Adapter::GEOIP2_MODEL_COUNTRY ),
75
- array (GeoIP2Adapter::GEOIP2_MODEL_OMNI ),
76
75
);
77
76
}
78
77
@@ -81,8 +80,6 @@ public static function provideDataForSwitchingRequestMethods()
81
80
*/
82
81
public function testIpAddressIsPassedCorrectToReader ($ geoIp2Model )
83
82
{
84
- $ this ->markTestSkipped ('FIXME: issue with jsonSerialize() method... ' );
85
-
86
83
$ geoIp2Provider = $ this ->getGeoIP2ProviderMock ();
87
84
$ geoIp2Provider
88
85
->expects ($ this ->any ())
You can’t perform that action at this time.
0 commit comments