Skip to content

Commit bf3ce73

Browse files
committed
Fix test
1 parent fe24ecb commit bf3ce73

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

tests/Functional/PluginInteractionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function testCachePluginUsesIpFromFakeIpPlugin(): void
5151
}
5252

5353
$kernel->addTestConfig(__DIR__.'/config/cache_symfony.yml');
54-
$kernel->addTestConfig(__DIR__.'/config/geo_plugin_fakeip_with_cache_cn.yml');
54+
$kernel->addTestConfig(__DIR__.'/config/fakeip_with_cache_cn.yml');
5555
}]);
5656
$kernel->setClearCacheAfterShutdown(false);
5757
$container = self::getContainer();
@@ -70,7 +70,7 @@ public function testCachePluginUsesIpFromFakeIpPlugin(): void
7070
}
7171

7272
$kernel->addTestConfig(__DIR__.'/config/cache_symfony.yml');
73-
$kernel->addTestConfig(__DIR__.'/config/geo_plugin_fakeip_with_cache_fr.yml');
73+
$kernel->addTestConfig(__DIR__.'/config/fakeip_with_cache_fr.yml');
7474
}]);
7575
$kernel->setClearCacheAfterShutdown(false);
7676
$container = self::getContainer();

tests/Functional/config/geo_plugin_fakeip_with_cache_cn.yml renamed to tests/Functional/config/fakeip_with_cache_cn.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
bazinga_geocoder:
33
# The local IP (127.0.0.1) will be replaced by the fake_ip
44
# see https://github.com/geocoder-php/BazingaGeocoderBundle/blob/5.0.0/Resources/doc/index.md#fake-local-ip
5-
fake_ip:
5+
fake_ip:
66
local_ip: ::1
77
ip: 123.123.123.128
88
# this ip is in china
99
providers:
1010
geoPlugin:
11-
factory: Bazinga\GeocoderBundle\ProviderFactory\GeoPluginFactory
11+
factory: Bazinga\GeocoderBundle\ProviderFactory\FreeGeoIpFactory
1212
cache: 'app.simple_cache'
1313
cache_lifetime: 42
14-
cache_precision: ~
14+
cache_precision: ~

tests/Functional/config/geo_plugin_fakeip_with_cache_fr.yml renamed to tests/Functional/config/fakeip_with_cache_fr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
bazinga_geocoder:
33
# The local IP (127.0.0.1) will be replaced by the fake_ip
44
# see https://github.com/geocoder-php/BazingaGeocoderBundle/blob/5.0.0/Resources/doc/index.md#fake-local-ip
5-
fake_ip:
5+
fake_ip:
66
local_ip: ::1
77
ip: 87.98.128.10
88
# this ip is in france
99
providers:
1010
geoPlugin:
11-
factory: Bazinga\GeocoderBundle\ProviderFactory\GeoPluginFactory
11+
factory: Bazinga\GeocoderBundle\ProviderFactory\FreeGeoIpFactory
1212
cache: 'app.simple_cache'
1313
cache_lifetime: 42
14-
cache_precision: ~
14+
cache_precision: ~

0 commit comments

Comments
 (0)