@@ -41,25 +41,26 @@ public function testLoad()
41
41
$ geocoder = $ container ->get ('bazinga_geocoder.geocoder ' );
42
42
$ providers = $ geocoder ->getProviders ();
43
43
foreach (array (
44
- 'bing_maps ' => 'Geocoder \\Provider \\BingMapsProvider ' ,
45
- 'cache ' => 'Bazinga \\Bundle \\GeocoderBundle \\Provider \\CacheProvider ' ,
46
- 'ip_info_db ' => 'Geocoder \\Provider \\IpInfoDbProvider ' ,
47
- 'yahoo ' => 'Geocoder \\Provider \\YahooProvider ' ,
48
- 'cloudmade ' => 'Geocoder \\Provider \\CloudMadeProvider ' ,
49
- 'google_maps ' => 'Geocoder \\Provider \\GoogleMapsProvider ' ,
50
- 'openstreetmaps ' => 'Geocoder \\Provider \\OpenStreetMapsProvider ' ,
51
- 'host_ip ' => 'Geocoder \\Provider \\HostIpProvider ' ,
52
- 'free_geo_ip ' => 'Geocoder \\Provider \\FreeGeoIpProvider ' ,
53
- 'map_quest ' => 'Geocoder \\Provider \\MapQuestProvider ' ,
54
- 'oio_rest ' => 'Geocoder \\Provider \\OIORestProvider ' ,
55
- 'geocoder_ca ' => 'Geocoder \\Provider \\GeocoderCaProvider ' ,
56
- 'geocoder_us ' => 'Geocoder \\Provider \\GeocoderUsProvider ' ,
57
- 'ign_openls ' => 'Geocoder \\Provider \\IGNOpenLSProvider ' ,
44
+ 'bing_maps ' => 'Geocoder \\Provider \\BingMapsProvider ' ,
45
+ 'cache ' => 'Bazinga \\Bundle \\GeocoderBundle \\Provider \\CacheProvider ' ,
46
+ 'ip_info_db ' => 'Geocoder \\Provider \\IpInfoDbProvider ' ,
47
+ 'yahoo ' => 'Geocoder \\Provider \\YahooProvider ' ,
48
+ 'cloudmade ' => 'Geocoder \\Provider \\CloudMadeProvider ' ,
49
+ 'google_maps ' => 'Geocoder \\Provider \\GoogleMapsProvider ' ,
50
+ 'openstreetmaps ' => 'Geocoder \\Provider \\OpenStreetMapsProvider ' ,
51
+ 'host_ip ' => 'Geocoder \\Provider \\HostIpProvider ' ,
52
+ 'free_geo_ip ' => 'Geocoder \\Provider \\FreeGeoIpProvider ' ,
53
+ 'map_quest ' => 'Geocoder \\Provider \\MapQuestProvider ' ,
54
+ 'oio_rest ' => 'Geocoder \\Provider \\OIORestProvider ' ,
55
+ 'geocoder_ca ' => 'Geocoder \\Provider \\GeocoderCaProvider ' ,
56
+ 'geocoder_us ' => 'Geocoder \\Provider \\GeocoderUsProvider ' ,
57
+ 'ign_openls ' => 'Geocoder \\Provider \\IGNOpenLSProvider ' ,
58
58
'data_science_toolkit ' => 'Geocoder \\Provider \\DataScienceToolkitProvider ' ,
59
- 'yandex ' => 'Geocoder \\Provider \\YandexProvider ' ,
60
- 'geo_ips ' => 'Geocoder \\Provider \\GeoIpsProvider ' ,
61
- 'geo_plugin ' => 'Geocoder \\Provider \\GeoPluginProvider ' ,
62
- 'maxmind ' => 'Geocoder \\Provider \\MaxmindProvider ' ,
59
+ 'yandex ' => 'Geocoder \\Provider \\YandexProvider ' ,
60
+ 'geo_ips ' => 'Geocoder \\Provider \\GeoIpsProvider ' ,
61
+ 'geo_plugin ' => 'Geocoder \\Provider \\GeoPluginProvider ' ,
62
+ 'maxmind ' => 'Geocoder \\Provider \\MaxmindProvider ' ,
63
+ 'chain ' => 'Geocoder \\Provider \\ChainProvider ' ,
63
64
) as $ name => $ class ) {
64
65
$ this ->assertInstanceOf ($ class , $ providers [$ name ], sprintf ('-> Assert that %s is instance of %s ' , $ name , $ class ));
65
66
}
0 commit comments