File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1313use Geocoder \Provider \GoogleMaps \GoogleMaps ;
1414
1515return [
16- 'cache-duraction ' => 999999999 ,
16+ 'cache-duration ' => 999999999 ,
1717 'providers ' => [
1818 Chain::class => [
1919 GoogleMaps::class => [
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ public function testItResolvesAGivenIPAddress()
6767
6868 // Act
6969 $ results = app ('geocoder ' )
70- ->geocode ('8.8.8.8 ' )
70+ ->geocode ('72.229.28.185 ' )
7171 ->get ();
7272
7373 // Assert
@@ -154,7 +154,7 @@ public function testItThrowsAnExceptionForInvalidDumper()
154154
155155 public function testConfig ()
156156 {
157- $ this ->assertEquals (999999999 , config ('geocoder.cache-duraction ' ));
157+ $ this ->assertEquals (999999999 , config ('geocoder.cache-duration ' ));
158158 $ this ->assertTrue (is_array ($ providers = $ this ->app ['config ' ]->get ('geocoder.providers ' )));
159159 $ this ->assertCount (3 , $ providers );
160160 $ this ->assertArrayHasKey (GoogleMaps::class, $ providers [Chain::class]);
Original file line number Diff line number Diff line change 1111use Geocoder \Provider \Chain \Chain ;
1212use Geocoder \Provider \GeoPlugin \GeoPlugin ;
1313use Geocoder \Provider \GoogleMaps \GoogleMaps ;
14+ use Geocoder \Provider \HostIp \HostIp ;
1415
1516return [
16- 'cache-duraction ' => 999999999 ,
17+ 'cache-duration ' => 999999999 ,
1718 'providers ' => [
1819 Chain::class => [
1920 GoogleMaps::class => [
You can’t perform that action at this time.
0 commit comments